microsoft / microsoft/BotFramework-WebChat
Accessibility Issue - Inappropriate use of aria-pressed attribute
@compulim is already working on this.
Since Oct 27, 2022.
- Dominant language
- HTML
- Stars
- 1.8k
- Forks
- 1.6k
- Avg merge
- 22h 58m
- Merged PRs (30d)
- 2
Description
Issue Description : -
Interactive elements need a programmatically determined name, role, and value. These properties must also be accurate and appropriate.
There are button elements where state have been used unnecessarily. This may particularly disadvantage users that interface with the accessibility properties of elements, such as screen reader and voice recognition users.
Success Criteria : -
Remove aria-pressed attribute from the source code of the buttons. For example:
JUST enough
For more information, see WAI-ARIA Practices - Toggle Button. As well, for guidance on reviewing accessibility properties, see Chrome - Accessibility properties, Edge - Accessibility Pane, and Firefox - Accessibility Inspector.


Steps to reproduce
- Observe the interactive elements.
- Inspect the elements and review the DOM.
- Review the computed accessibility properties.
- Observe that the aria-pressed is incorrectly used.
Webchat Version :- 4.13.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.