oxidecomputer / oxidecomputer/console
ARIA role for toast
Open
Nobody has claimed this yet.
a11y
- Dominant language
- TypeScript
- Stars
- 228
- Forks
- 22
- Avg merge
- 19h 42m
- Merged PRs (30d)
- 32
Description
Our toast is just a div with no role.
- https://adrianroselli.com/2020/01/defining-toast-messages.html#NeededFeatures considers roles
alert,log, andstatus. Not sure which is appropriate. - https://twitter.com/colmtuite/status/1410631343222964226 — conversation including Adam Watham from Tailwind and Devon Govett from React Spectrum/Aria
- https://github.com/adobe/react-spectrum/blob/main/specs/accessibility/Toast.mdx, recommending role
alert, but using a landmarkrole=regioncontainer to be tabbable (I think)
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.
Research direction
The issue does not name an implementation file or test; start by locating the toast component and its accessibility tests. Review the linked guidance and determine whether alert, log, or status fits this toast, then verify that the chosen role and any required container behavior are covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- accessibility, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100