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

[accessibility] Keyboard and screen reader support for the close button #87

Open
Malvoz opened this issue May 11, 2022 · 1 comment
Open

Comments

@Malvoz
Copy link

Malvoz commented May 11, 2022

  • The control is not focusable, it should be a <button type="button"> or role="button" (with tabindex="0" or <a href="#">).
  • aria-label or title can be used to allow screen reader users to understand what the control is for.
    For example title="Close sidebar".
@Malvoz
Copy link
Author

Malvoz commented May 11, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant