microsoft / microsoft/BotFramework-WebChat

[Accessibility] Disable accessible button using `tabIndex="-1"`

Open
#3,237 0 comments 1 reaction 1 assignee View on GitHub

@compulim is already working on this.

Since Jun 11, 2020.

area-accessibility feature-request needs-scope
Dominant language
HTML
Stars
1.8k
Forks
1.6k
Avg merge
22h 58m
Merged PRs (30d)
2

Description

Today

After the user blur on the focusing-but-disabled button, we set disabled attribute.

Tomorrow

We could set tabIndex="-1" instead. So, we don't need to set disabled on blur event, and the user will not be able to TAB-back to the disabled button.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.