-
-
Notifications
You must be signed in to change notification settings - Fork 637
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ABBR attribute on TH elements not supported #3566
Comments
Attachment testcase_abbr_attribute.html added by hhillen on 2013-10-08 18:49 |
Comment 2 by jteh on 2015-05-07 01:56 |
Unless I have missed an NVDA setting, it does not recognise the tag anywhere on a page. Both JAWS and Window-Eyes allow abbreviation expansion to be turned on or off (both off by default) and Window-Eyes offers several options for presenting the information. |
The abbr attribute on th elements and the abbr tag are slightly different. As for the tag, NVDA will report it on demand if you use the report navigator object command (desktop: NVDA+numpad5, laptop: NVDA+shift+o). Note that this equivalent to the sighted user's experience, where the expansion shows up only when the mouse is moved over the abbreviation. |
Oh? this isn't documented I don't think (If it is, I missed it, and have On 10/27/2016 7:16 PM, James Teh wrote:
Websites: email me at derek.riemer@colorado.edu mailto:derek.riemer@colorado.edu |
It's not a specific feature as such. It works because the report object
command, like the report focus command, reports the description (secondary)
information for the object. However, I agree this won't be obvious to most
users. Perhaps we should document it as a hint in the browse mode section
or similar.
|
Especially as other screen readers offer it as an option, including it Andrew On 28/10/2016 12:44 PM, James Teh wrote:
|
After some research and consideration, it was decided not to expose this in the accessible/name description. See my comment on the Mozilla bug for details. However, it is already exposed as the "abbr" IA2 object attribute. |
@ehollig could you please upload the attachment with the test case to this issue from the old issue tracker? The link in the description is not working anymore and I am not able to reproduce the issue. |
@Adriani90 the link is now in #3566 (comment). Also, the link provided in the original post still works for me. |
@jcsteh as far as I understand, at least Firefox exposes the aBBR atribute now as object atribute. But NVDA is still not recognizing it, I am testing with NVDA 2019.1.1 on Firefox 66.0.5 but it is also the case in Chrome 74 and IE11. |
The updated test case link is https://hanshillen.github.io/testcases/bugreports/NVDA/testcase_abbr_attribute.html. I still think it would be good if this was fixed. JAWS and VO correctly use the abbr attribute value instead of the TH contents when announcing column headers for lower cells. It would really help us developers and consultants to be able to rely on this attribute when column headers contain more text than just the header name. Expecting the user to manually get the header's abbr text in object review mode would not be a valid workaround for this issue, since they would still have to hear a cluttered, unhelpful column header announcement every time they move to an adjacent cell using table navigation. Nor would it be useful for abbr to be the TH's accessible name. As @Adriani90 said: abbr is in the spec, so why not have NVDA users benefit from it? |
For what is worth, a while ago in WordPress we experimented a bit with the table header There are actual cases where users would greatly benefit from a working We could argue a data table should not contain that kind of, in a way, "extraneous" info. Ideally, it shouldn't. However, in the real world, it's not uncommon that table headers contain additional text. In a large project like WordPress it's not always possible to implement large refactoring of existing code. Most ot the times we can only try to improve the users experience by using standards that are supposed to work across all assistive technologies. Making NVDA support the
I'd totally second that. I'd like to add it would really help in spreading accessibility culture and demonstrate that sometimes "fixing accessibility" is relatively simple. As said by others above, JAWS and VoiceOver provide a better experience for users. How can we help to make NVDA implement support for the table header |
Playing devils advocate - without NVDA announcing there is an abbr available, how would a user know to use those hotkeys? |
This still seems to be an issue. When on a TH element with an abbr attribute, NVDA+shift+o does not report the content of the abbt attribute. The TH's abbr content is not reported when inside table cells either. However, it seems this may primarily be an issue of browser support rather than screen reader support: https://adrianroselli.com/2022/08/brief-note-on-calendar-tables.html |
Reported by hhillen on 2013-10-08 18:48
When announcing the associated column header for a cell in a data table, NVDA does not take the abbr attribute into account. It should read the value specified by abbr instead of the text contents of the TH element.
For more information about the abbr attribute, see the HTML5 spec: http://www.w3.org/html/wg/drafts/html/master/tabular-data.html#attr-th-abbr
I've attached a test case which contains two data tables. Each table illustrates a common use of the abbr attribute.
To use the test case:
In JAWS this does work correctly. Note that the abbr attribute should also be supported for grids with focusable, keyboard navigable cells, not just static data tables.
The text was updated successfully, but these errors were encountered: