Open
Description
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