RTC a11y NPM Resource Changed PR-5.1-dev Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
24 Mar 2024

adds an outline to the cog when it receives keyboard focus

Pull Request for Issue #43066 .

Expected result AFTER applying this Pull Request

image

image

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar brianteeman brianteeman - open - 24 Mar 2024
avatar brianteeman brianteeman - change - 24 Mar 2024
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 24 Mar 2024
Category Repository NPM Change
avatar Quy Quy - test_item - 24 Mar 2024 - Tested successfully
avatar Quy
Quy - comment - 24 Mar 2024

I have tested this item ✅ successfully on 9bcda96


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

avatar viocassel viocassel - test_item - 24 Mar 2024 - Tested successfully
avatar viocassel
viocassel - comment - 24 Mar 2024

I have tested this item ✅ successfully on 9bcda96


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

avatar Quy Quy - change - 24 Mar 2024
Status Pending Ready to Commit
Labels Added: NPM Resource Changed PR-5.1-dev
avatar Quy
Quy - comment - 24 Mar 2024

RTC


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

avatar wilsonge wilsonge - change - 29 Mar 2024
Labels Added: RTC a11y
avatar wilsonge wilsonge - change - 29 Mar 2024
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2024-03-29 23:04:47
Closed_By wilsonge
avatar wilsonge wilsonge - close - 29 Mar 2024
avatar wilsonge wilsonge - merge - 29 Mar 2024
avatar brianteeman
brianteeman - comment - 29 Mar 2024

thanks @wilsonge

avatar wilsonge
wilsonge - comment - 29 Mar 2024

Thanks!

avatar bembelimen
bembelimen - comment - 29 Mar 2024

This PR is not optimal, because the selector is too generic. Now all buttons in the cpanel which are the first child get this effect. It should be either reverted or fixed (by being more specific).

avatar brianteeman
brianteeman - comment - 29 Mar 2024

can you provide an example please so I can check

avatar brianteeman
brianteeman - comment - 29 Mar 2024

From what I can see the only button that can ever match the selector is the cog - what am I missing?

avatar bembelimen
bembelimen - comment - 1 Apr 2024

It selected every item with the class "btn" which is the first child. So if a module has a btn, it gets the styling, too.

avatar chmst
chmst - comment - 1 Apr 2024

My concern is that a second button (for a custom module) does not get the focus-ring

avatar brianteeman
brianteeman - comment - 1 Apr 2024

It selected every item with the class "btn" which is the first child. So if a module has a btn, it gets the styling, too.

demonstrably not true, otherwise the buttons in the sample data module would have the outline

My concern is that a second button (for a custom module) does not get the focus-ring

Please show an example

Add a Comment

Login with GitHub to post a comment