? ? Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
4 Sep 2018

The table options drop down contains multiple select inputs
None of them are accessible as they don't have a label or have an invalid label

This issue was identified by the JAT

The ‘select’ elements do not have corresponding labels

This PR adds a label for each select with a class of sr-only (screenreader only)

Unfortunately there is no label attribute present in the xml so I had to add it. To avoid creating more work for translators I am reusing (where possible) the language string we are using for the default empty value eg Select Position

avatar brianteeman brianteeman - open - 4 Sep 2018
avatar brianteeman brianteeman - change - 4 Sep 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 4 Sep 2018
Category Administration com_modules Language & Strings Layout
avatar brianteeman brianteeman - change - 4 Sep 2018
The description was changed
avatar brianteeman brianteeman - edited - 4 Sep 2018
avatar chmst
chmst - comment - 4 Sep 2018

I have tested this item successfully on 20a908f

I have tested this item successfully but not with screenreader.


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

avatar chmst chmst - test_item - 4 Sep 2018 - Tested successfully
avatar brianteeman brianteeman - change - 6 Sep 2018
Labels Added: ? ?
avatar joomla-cms-bot joomla-cms-bot - change - 6 Sep 2018
Category Administration com_modules Language & Strings Layout Administration com_associations com_banners com_cache com_categories com_checkin com_contact com_content com_csp com_fields com_finder com_installer com_languages com_menus com_messages com_modules
avatar zero-24 zero-24 - change - 6 Sep 2018
Labels Removed: ?
avatar brianteeman brianteeman - change - 6 Sep 2018
The description was changed
avatar brianteeman brianteeman - edited - 6 Sep 2018
avatar brianteeman brianteeman - change - 6 Sep 2018
Title
[4.0] [a11y] Table Options POC
[4.0] [a11y] Table Options
avatar brianteeman brianteeman - edited - 6 Sep 2018
avatar brianteeman
brianteeman - comment - 6 Sep 2018

This is no longer a proof of concept.

@Quy can you do your magic please

968a658 6 Sep 2018 avatar brianteeman cs
avatar ceus1984
ceus1984 - comment - 8 Sep 2018

I have tested this item ? unsuccessfully on 71054f2

I have tested it but cannot see any labels


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

avatar ceus1984 ceus1984 - test_item - 8 Sep 2018 - Tested unsuccessfully
avatar ceus1984
ceus1984 - comment - 8 Sep 2018

I have tested this item ? unsuccessfully on 71054f2

I tried it but no labels appeared


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/22008.
avatar ceus1984 ceus1984 - test_item - 8 Sep 2018 - Tested unsuccessfully
avatar brianteeman
brianteeman - comment - 8 Sep 2018

@ceus1984

This PR adds a label for each select with a class of sr-only (screenreader only)

So you will not be able to "see" the labels - you need to look at the source to "see" them or to use a screenreader

avatar SniperSister
SniperSister - comment - 8 Sep 2018

So you will not be able to "see" the labels - you need to look at the source to "see" them or to use a screenreader

@brianteeman we did check the source code of the site, no labels in sight. Not sure if that's a side effect of using the patchtester to apply the change, but I indeed can confirm @ceus1984 observation cause I was looking over here shoulder

avatar brianteeman
brianteeman - comment - 8 Sep 2018

@SniperSister dont know what to tell you
image

avatar brianteeman
brianteeman - comment - 8 Sep 2018

conflicts fixed

avatar brianteeman
brianteeman - comment - 25 Sep 2018

@infograf768 it is better if the labels are "Select" and not "- Select -"

So I can either create new strings for the label - disadvantage is that every extension will need to add the new strings to be accessible
Or I can change the strings to remove the " - " and then add the " - " in the select using css :before and :after disadvantage if 3pd extensions dont update their strings they will see "-- Select --"

I was mistaken screen readers dont announce the hyphen here

avatar brianteeman
brianteeman - comment - 25 Sep 2018

Closed - obviously no one else is interested in improving the accessibility in joomla 4

avatar brianteeman brianteeman - change - 25 Sep 2018
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2018-09-25 18:27:42
Closed_By brianteeman
avatar brianteeman brianteeman - close - 25 Sep 2018
avatar brianteeman
brianteeman - comment - 27 Sep 2018

Trying again - maybe someone will look

avatar brianteeman brianteeman - change - 27 Sep 2018
Status Closed New
Closed_Date 2018-09-25 18:27:42
Closed_By brianteeman
avatar brianteeman brianteeman - change - 27 Sep 2018
Status New Pending
avatar brianteeman brianteeman - reopen - 27 Sep 2018
avatar chmst
chmst - comment - 27 Sep 2018

I've tested again. With patchtester it was not successful. I don't know why.
When I add the code manually into my branch, the test is successfull.

avatar Quy
Quy - comment - 27 Sep 2018

I have tested this item successfully on 6f3fb2e


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

avatar Quy Quy - test_item - 27 Sep 2018 - Tested successfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 28 Sep 2018

@chmst can you please retest?

avatar chmst
chmst - comment - 28 Sep 2018

I have tested this item successfully on 6f3fb2e

I have tested this item successfully. The patchtester seems not to change the layout files, so this had to be done manually.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/22008.
avatar chmst chmst - test_item - 28 Sep 2018 - Tested successfully
avatar franz-wohlkoenig franz-wohlkoenig - change - 28 Sep 2018
Status Pending Ready to Commit
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 28 Sep 2018

Ready to Commit after two successful tests.

Thanks all for Tests.

avatar laoneo laoneo - change - 4 Oct 2018
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-10-04 07:22:59
Closed_By laoneo
Labels Added: ?
avatar laoneo laoneo - close - 4 Oct 2018
avatar laoneo laoneo - merge - 4 Oct 2018
avatar laoneo
laoneo - comment - 4 Oct 2018

Thanks

avatar brianteeman
brianteeman - comment - 4 Oct 2018

Thanks

Add a Comment

Login with GitHub to post a comment