qwikifiers / qwikifiers/qwik-ui
[A11y]: Toast -> consider using `output` instead of div (see past PR for alternatives)
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 695
- Forks
- 142
- PR merge metrics
- No merged PRs in 30d
Description
Using the output html element for a toast instead of a div improve a11y as it will be read by the screen reader when it's displayed on the page without the need to get focus. By default the output element has the role status, but for more time-sensitive information the role alert can be set.
I opened a PR for this.
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 identifies the toast component but does not name its file or tests. Review the existing toast implementation and the PR mentioned in the issue, then verify the chosen output semantics and status or alert behavior with an accessibility check.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html, typescript
- Domain
- accessibility, frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100