Skip to content

Hidden menu buttons reachable with VoiceOver on iPadOS #138

@selfthinker

Description

@selfthinker

What

When using VoiceOver on iPadOS the hidden menu buttons in the header and service nav are all still reachable and can be activated in desktop view. That's the general "Menu" button as well as the buttons after each of the main navigation items. When you activate the main nav buttons they even visibly open the sub menu that shouldn't be reachable in the desktop view. Those buttons can also be explored by touch.

I don't have a recent enough iOS version but a user confirmed it's happening on iOS as well. And I can confirm it does not happen with TalkBack on Android or NVDA.

Screenshot of the hidden "Colour" button being highlighted and activated with the Colour sub menu open underneath the service nav:
Screenshot with wrongly opened sub nav, as described above

This also happens with the navigation on the Design System website and with the navigation with in the Service Navigation component and Header component in GOV.UK Frontend, so was inherited from that.
The two relevant issues in the other repos:

The fix is known (add aria-hidden to where hidden is used) but we need to wait for the fix in GOV.UK Frontend and might want to wait for the fix for the DS website.

Why

Hidden things shouldn't be reachable.
It's confusing when there are multiple ways how the navigation works.

Who needs to work on this

Developers

Who needs to review this

Accessibility specialist

Done when

  • [ ]

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

Status

Done 🏁

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions