Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tabs inaccessible to Voice Control on Safari #69

Open
shabana-ali opened this issue May 27, 2022 · 1 comment
Open

Tabs inaccessible to Voice Control on Safari #69

shabana-ali opened this issue May 27, 2022 · 1 comment
Labels
bug Something isn't working gds Discuss with GDS macos Platform: macOS voice control Audit task: use Apple’s Voice Control

Comments

@shabana-ali
Copy link
Contributor

Seen on

When using Voice Control with the Safari browser, numbers are not assigned to the tabs, so the user cannot use them. A user can however use the grid command to activate the tab.

<ul class="govuk-tabs__list" role="tablist">
    <li class="govuk-tabs__list-item govuk-tabs__list-item--selected" role="presentation">
      <a class="govuk-tabs__tab" href="#in-progress" id="tab_in-progress" role="tab" aria-controls="in-progress" aria-selected="true" tabindex="0">
        In progress
      </a>
    </li>
    <li class="govuk-tabs__list-item" role="presentation">
      <a class="govuk-tabs__tab" href="#history" id="tab_history" role="tab" aria-controls="history" aria-selected="false" tabindex="-1">
        History
      </a>
    </li>
</ul>

Screenshot 2022-05-24 at 11 17 24

This browser bug issue was raised to the team for awareness and told that we do not expect them to action any fixes at the moment.

Removing the role="tab" from the <a> elements fixes this but then:

  1. this is not valid syntax for the role="tablist" used on the container <ul> element
  2. screen reader users are not made aware of the tabs / number of tabs; these are just declared as links
@shabana-ali shabana-ali added bug Something isn't working macos Platform: macOS gds Discuss with GDS voice control Audit task: use Apple’s Voice Control labels May 27, 2022
@ashfaqhussain357
Copy link

ashfaqhussain357 commented Jul 16, 2024

Using the grid option on voice recognition software works as does using the 'tab' command which sets focus on the required element. Issue fixed.

@ashfaqhussain357 ashfaqhussain357 moved this to In progress in Investigation Jul 16, 2024
@ashfaqhussain357 ashfaqhussain357 moved this from In progress to Done in Investigation Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working gds Discuss with GDS macos Platform: macOS voice control Audit task: use Apple’s Voice Control
Projects
Status: Done
Development

No branches or pull requests

2 participants