W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > October to December 2011

Re: SharePoint Accessibility: Alt Text Attributes on Active Images inside data grid (in ‘more accessible mode’)

From: Devarshi Pant <devarshipant@gmail.com>
Date: Wed, 9 Nov 2011 16:08:01 -0500
Message-ID: <CAJGQbjvPyR3c3oark05uHk0sJsGcSaaaMGUwdPNxPgxqeMd8yg@mail.gmail.com>
To: Ramón Corominas <listas@ramoncorominas.com>
Cc: "w3c-wai-ig@w3.org" <w3c-wai-ig@w3.org>
Ramón wrote: What styles are applied to the image through that
"ms-hidden" class? And have you tried widths & height greater than
1px? Maybe the JAWS silence is caused by that?.. (just guessing)
****
Yes, I tried widths and height greater than 1px.
Could you check and share your findings if you want to. Take the code
sample here:
<td><A onfocus="OnLink(this)" HREF="http://sharepoint.xyz"
onclick="javascript:EnterFolder('xyz');return false;">AnyName<img
src="/_layouts/images/blank.gif" class="ms-hidden" border=0 width=1
height=1 alt="Use SHIFT+ENTER to open the menu (new
window)."></A></td>
Here is the associated css:
.ms-hidden {
  height:1px;
  left:0;
  overflow:hidden;
  position:absolute;
  top:-500px;
  width:1px;
}
And with JAWS running, just tab to the link ‘AnyName’ using the
following settings:
1. text link > set to favor title attribute
2. text link > set to favor screen text
I would like to see how equivalent settings in other screen readers
respond to this change. This is what the JAWS links list utility shows
(based on the example code above):
a) when set to favor the title attribute, it displays ‘AnyName’
b) when set to favor the screen text, it displays ‘AnyName Use
SHIFT+ENTER to open the menu (new window)’
I reiterate, a screen reader’s ability to detect an alt text value on
an image link should be independent of it’s text link verbosity
settings—and that was the understanding when this page was tested.
But in this case (from b) above), as the image is a link, JAWS is
treating it’s alt value attribute as screen text.
Hope that helps.
-Devarshi
***

On 11/9/11, Ramón Corominas <listas@ramoncorominas.com> wrote:
> What styles are applied to the image through that "ms-hidden" class? And
> have you tried widths & height greater than 1px? Maybe the JAWS silence is
> caused by that?.. (just guessing)
>
> Devarshi said:
>
>> **For those who use screen readers**  You may already now, but there
>> are hidden images inside the SharePoint grid, with an alt text value
>> of "Use SHIFT+ENTER to open the menu (new window)." This supplemental
>> text gives the shortcut key information to open a dialog. Please note
>> a few observations that follow:
>> 1.    On running JAWS (text link > set to favor title attribute), all
>> images are ignored, which means, no alt text announcements are made.
>> 2.    On running JAWS (text link > set to favor screen text), all images
>> are detected, meaning, alt text announcements are made.
>> Note: I am not sure how changing the settings affect the alt text
>> announcement, which should occur regardless of the change in settings
>> (1, 2 above).
>> Could the code be responsible? On removing internal references, the
>> code follows:
>> *******************************
>> <td><A onfocus="OnLink(this)" HREF="http://sharepoint.xyz"
>> onclick="javascript:EnterFolder('xyz');return false;">AnyName<img
>> src="/_layouts/images/blank.gif" class="ms-hidden" border=0 width=1
>> height=1 alt="Use SHIFT+ENTER to open the menu (new
>> window)."></A></td>
>> *******************************
>> Basically, when a user cannot ascertain the alt text of an image,
>> which in this case must occur independently of AT’s settings (noted in
>> 1, 2 above), should it be a failure, or not?
>>
>> Thanks,
>> Devarshi
>>
Received on Wednesday, 9 November 2011 21:08:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 November 2011 21:08:39 GMT