? ? Pending

User tests: Successful: 2 Quy, tonypartridge Unsuccessful: 0

avatar brianteeman
brianteeman
17 Mar 2017

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 should address all the remaining icons in the layouts folder where we do have text

avatar brianteeman brianteeman - open - 17 Mar 2017
avatar brianteeman brianteeman - change - 17 Mar 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 17 Mar 2017
Category Layout
avatar brianteeman brianteeman - change - 17 Mar 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - change - 17 Mar 2017
Category Layout Layout Unit Tests
avatar brianteeman
brianteeman - comment - 17 Mar 2017

I updated the unit test - it passes so I hope I made the change correctly

avatar franz-wohlkoenig franz-wohlkoenig - change - 3 Apr 2017
Category Layout Unit Tests Accessibility Layout Unit Tests
avatar Quy Quy - test_item - 19 Apr 2017 - Tested successfully
avatar Quy
Quy - comment - 19 Apr 2017

I have tested this item successfully on 84915d0

Code review


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/14702.

avatar tonypartridge
tonypartridge - comment - 23 May 2017

I have tested this item successfully on 84915d0

Code Review.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/14702.

avatar tonypartridge tonypartridge - test_item - 23 May 2017 - Tested successfully
avatar franz-wohlkoenig franz-wohlkoenig - change - 24 May 2017
Status Pending Ready to Commit
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 24 May 2017

RTC after two successful tests.

avatar rdeutz rdeutz - merge - 24 May 2017
avatar rdeutz rdeutz - change - 24 May 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-05-24 20:05:30
Closed_By rdeutz
Labels Added: ?
avatar rdeutz rdeutz - close - 24 May 2017
avatar brianteeman
brianteeman - comment - 24 May 2017

Thanks

Add a Comment

Login with GitHub to post a comment