Skip to content

[508-defect-4]va-on-this-page focus for iOS VoiceOver #41831

Open
@Mottie

Description

@Mottie

Description

When a link within the va-on-this-page web component is used on iOS VoiceOver on safari, the page scrolls to the h2 with the matching text/ID, but focus is not shifted to the On this page heading.

This is a VoiceOver specific bug as documented in webkit bugzilla.

Adding a tabindex="-1" and then removing the tabindex the moment the focus moves away may be worth exploring as a fix.

RPReplay_Final1653488280.MP4

cc: @joshkimux

Tasks

  • Check and add tabindex="-1" to the target header to allow focus
  • Remove tabindex the moment focus moves away to mitigate undesired outcomes
  • Add tests
  • Check fix with VoiceOver on Safari (Version 11)

Definition of done

  • All tasks complete
  • All tests passing

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

508-issue-focus-mgmtFocus Management - https://www.w3.org/TR/UNDERSTANDING-WCAG20/navigation-mechanisms-focus-order.html508-issue-screenreadera11y-defect-4Low-severity accessibility issue that should be fixed within 2 - 4 sprintsaccessibilityplatform-design-system-teamVA.gov platform design system team's tickets

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions