User tests: Successful: Unsuccessful:
When reading our default markup for rendering icons, assisistive technology may have the following problems.
The assistive technology will not find any content to read out to a user
The assistive technology will read the unicode equivalent, which does not match up to what the icon means in context, or worse is just plain confusing. In our use case it is always plain wrong. For example the unicode character used to display the trashed icon is \4c which is equal to L
When an icon is not an interactive element the simplest way to provide a text alternative is to use the aria-hidden="true" attribute on the icon and to include the text with an additional element, such as a < span>, with appropriate CSS to visually hide the element while keeping it accessible to assistive technologies.
In this case we have the text and it is displayed so we just need to add the aria-hidden to prevent the icon being "read aloud"
This PR addresses the use case shown in the image below
Thanks to @fuzzbomb for his guidance on this - there is more to come
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_associations com_categories com_contact com_content com_menus com_modules com_newsfeeds |
Labels |
Added:
?
|
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
Thanks merging!
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-03-29 11:08:00 |
Closed_By | ⇒ | zero-24 | |
Labels |
Added:
?
|
Thanks for testing and merging
I have tested this item✅ successfully on 9df52ef
Didn't test it with an accessibility reader, but according to the docs its the right way.
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/14689.