Skip to content

Accessibility - hidden anchors are still tabbable #2225

Description

@kburk1997

Bug Report

Steps to reproduce

  1. Go to develop preview
  2. Press Tab key to move to next focusable element on the page
  3. Repeat step 2 until "Edit document" link is focused

Current behaviour

Sidebar items remain in the tab order regardless of whether the menu is open or closed.
Screen recording with keystrokes:

Screen.Recording.2023-09-12.at.11.11.40.AM.mov

Expected behaviour

Hidden sidebar items are not tabbable when closed.
Sidebar items are tabbable when the sidebar is open.

Other relevant information

  • Docsify version: latest
  • Bug still occurs when all/other plugins are disabled?

  • Docsify plugins (if the bug happens when plugins enabled, please try to isolate the issue): n/s

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions