? a11y NPM Resource Changed ? Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
28 Jan 2022

When you are navigating the admin using the keyboard all the buttons should indicate when they have focus. For toolbar buttons this has been done correctly and the display of the button changes exactly the same on focus and on hover. This is the bootstrap default behaviour.

Unfortunately the buttons in the modals do not use the bootstrap defaults (I don't know why) and there is no styling for on focus.

This PR resolves that so the buttons in modals are styled correctly on focus. Displaying a visual indicator of the current focus is a fundamental accessibility issue.

This PR changes the scss so to test either use a prebuilt package or make sure you remember to npm run build:css

Open any modal and using the keyboard tab key navigate to the buttons. Before the PR you don't have any indicator when you are on a button. After the PR the button is styled exactly the same as if you were hovering with your mouse.

Before - keyboard focus on close button

image

After - keyboard focus on close button

image

cc @chmst

avatar brianteeman brianteeman - open - 28 Jan 2022
avatar brianteeman brianteeman - change - 28 Jan 2022
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 28 Jan 2022
Category Repository NPM Change
avatar ChristineWk
ChristineWk - comment - 28 Jan 2022
avatar brianteeman brianteeman - change - 28 Jan 2022
Labels Added: NPM Resource Changed ?
avatar chmst chmst - test_item - 30 Jan 2022 - Tested unsuccessfully
avatar chmst
chmst - comment - 30 Jan 2022

I have tested this item ? unsuccessfully on 74907fd

Tested on the 4.1dev branch. Same as @ChristineWk. No focus is visible on the close button.


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

avatar brianteeman
brianteeman - comment - 30 Jan 2022

ok - will recheck - maybe something went wrong with the commit. thanks for testing so far.

avatar brianteeman
brianteeman - comment - 30 Jan 2022

Which modal were you checking? I just rechecked these two

menu2

menu1

avatar chmst
chmst - comment - 30 Jan 2022

I had menu - select menu item type. Firefox and edge.
Will re-test with categories.

avatar drmenzelit drmenzelit - test_item - 30 Jan 2022 - Tested successfully
avatar drmenzelit
drmenzelit - comment - 30 Jan 2022

I have tested this item successfully on 74907fd

Works as described


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

avatar chmst chmst - test_item - 30 Jan 2022 - Tested successfully
avatar chmst
chmst - comment - 30 Jan 2022

I have tested this item successfully on 74907fd

Test with prebuild package works as described


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

avatar chmst
chmst - comment - 30 Jan 2022

No clue why it does not work on my dev environment with npm. Will have ru rebuild my local repo.

avatar richard67 richard67 - change - 30 Jan 2022
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 30 Jan 2022

RTC


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

avatar bembelimen bembelimen - change - 31 Jan 2022
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2022-01-31 15:18:48
Closed_By bembelimen
Labels Added: ? a11y
avatar bembelimen bembelimen - close - 31 Jan 2022
avatar bembelimen bembelimen - merge - 31 Jan 2022
avatar bembelimen
bembelimen - comment - 31 Jan 2022

Thx

avatar brianteeman
brianteeman - comment - 31 Jan 2022

Thank you - I hope the other RTC fixes will be merged as well.

Add a Comment

Login with GitHub to post a comment