? ? Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
29 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 as the drag icon is completely inaccessible for non-sighted users (out of scope to resolve for this PR) we just need to add the aria-hidden to prevent the icon being "read aloud"

This PR addresses the use case for the drag icons shown in the image below
screenshotr10-35-27

avatar brianteeman brianteeman - open - 29 Mar 2017
avatar brianteeman brianteeman - change - 29 Mar 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 29 Mar 2017
Category Administration com_banners com_contact com_content com_fields com_languages com_menus com_newsfeeds com_plugins com_users
avatar SharkyKZ
SharkyKZ - comment - 29 Mar 2017

Don't remove closing span tags. That's invalid HTML.

avatar brianteeman
brianteeman - comment - 29 Mar 2017

Good spot @SharkyKZ thats a replace error by me fixing it now

e64f17d 29 Mar 2017 avatar brianteeman oops
avatar brianteeman brianteeman - change - 29 Mar 2017
Labels Added: ?
avatar C-Lodder C-Lodder - test_item - 29 Mar 2017 - Tested successfully
avatar C-Lodder
C-Lodder - comment - 29 Mar 2017

I have tested this item successfully on e64f17d

code review


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

avatar Quy
Quy - comment - 29 Mar 2017

In these files too:
\administrator\components\com_categories\views\categories\tmpl\default.php
\administrator\components\com_modules\views\modules\tmpl\default.php
\administrator\components\com_tags\views\tags\tmpl\default.php

avatar joomla-cms-bot joomla-cms-bot - change - 29 Mar 2017
Category Administration com_banners com_contact com_content com_fields com_languages com_menus com_newsfeeds com_plugins com_users Administration com_banners com_categories com_contact com_content com_fields com_languages com_menus com_modules com_newsfeeds com_plugins com_tags com_users
avatar joomla-cms-bot joomla-cms-bot - change - 29 Mar 2017
Category Administration com_banners com_contact com_content com_fields com_languages com_menus com_newsfeeds com_plugins com_users com_categories com_modules com_tags Administration com_banners com_contact com_content com_fields com_languages com_menus com_newsfeeds com_plugins com_users
avatar brianteeman
brianteeman - comment - 29 Mar 2017

@quy thats because they were changed in a different PR. Downside of making so many changes is that you have to break it up into smaller ones to prevent conflicts and make it easier to renew. Sometimes that will mean there will be some extra changes made after all the current PR have been merged. Once they are all merged i will do another pass through to catch any that might have been missed

avatar Quy Quy - test_item - 29 Mar 2017 - Tested successfully
avatar Quy
Quy - comment - 29 Mar 2017

I have tested this item successfully on 7fa2c3e

Code review.


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

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 30 Mar 2017

@C-Lodder can you please retest?

avatar brianteeman
brianteeman - comment - 30 Mar 2017

@franz-wohlkoenig there is no need for a retest. The test count was reset because I made a change to the PR but then I reverted that change so @C-Lodder test is still good

avatar franz-wohlkoenig franz-wohlkoenig - change - 30 Mar 2017
Status Pending Ready to Commit
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 30 Mar 2017

RTC after two successful testes.

avatar wilsonge wilsonge - change - 30 Mar 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-03-30 11:48:18
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 30 Mar 2017
avatar wilsonge wilsonge - merge - 30 Mar 2017

Add a Comment

Login with GitHub to post a comment