No Code Attached Yet a11y bug
avatar brianteeman
brianteeman
4 Mar 2023

Steps to reproduce the issue

See video recording - keyboard navigation only - all key presses highlighted on screen by external software
Creating seperate issue for each bug report so that they dont get lost inside a bigger report (again)

Using the keyboard I cannot reach the back button unless i shift tab.

The requirement to use a mouse to successfully use the Guided Tours component is an accessibility failure and breaks our commitment to providing an accessible way to use Joomla

avatar brianteeman brianteeman - open - 4 Mar 2023
avatar joomla-cms-bot joomla-cms-bot - change - 4 Mar 2023
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 4 Mar 2023
avatar drmenzelit drmenzelit - change - 5 Mar 2023
Labels Added: a11y
avatar drmenzelit drmenzelit - labeled - 5 Mar 2023
avatar richard67 richard67 - change - 5 Mar 2023
Labels Added: bug
avatar richard67 richard67 - labeled - 5 Mar 2023
avatar obuisard
obuisard - comment - 9 Mar 2023

The order in which buttons are added to a step is as follow:
cancel - back - next (in Firefox, there is a way to check tabIndex and they appear in the right order).
When on cancel (why cancel? Because this is the only available button on all steps), the script gives focus to the target, if there is one.
When in an target, the script gives back the focus to the step (using the blur event).
These are the only manipulations made. The rest is the browser deciding how to tab through.
Manipulating tabIndex is usually not a good idea, that is why we don't enforce anything more than what I explained.


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

avatar brianteeman
brianteeman - comment - 10 Mar 2023

Something is wrong then as it works correctly in the shepherd demo

avatar obuisard
obuisard - comment - 10 Mar 2023

It also works well when a step is not interactive.
In an interactive step, this behavior comes from the fact that once we get out of focus from the target, the focus is moved to the 'Next' button, if it exists and not disabled, allowing the user to move on to the next step faster. Therefore, going 'Back' can only be done with shift-tab.
We can give focus to the 'back' button first, no problem, but does it make sense once a value has been entered in an input field? But I understand it would keep it consistent...
BTW, we always go through the cancel button, it's just the way modals behave.

avatar brianteeman brianteeman - change - 1 Apr 2023
Status New Closed
Closed_Date 0000-00-00 00:00:00 2023-04-01 18:34:39
Closed_By brianteeman
avatar brianteeman
brianteeman - comment - 1 Apr 2023

addressed elsewhere

avatar brianteeman brianteeman - close - 1 Apr 2023

Add a Comment

Login with GitHub to post a comment