Remove wrapping div from live region
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 68/100
- Issue type
- Refactor
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- javascript, react
- Domain
- accessibility, frontend
Research direction
The issue identifies the Announcer component and the rendered message block; start there by inspecting its current JSX. Done means the live-region messages render without the needless wrapping div, using a Fragment instead.
Written by the indexing model from the issue text.
Description
Currently the Announcer component still has a needless wrapping div being rendered in the DOM:
<div>
<MessageBlock aria-live="assertive" message={assertiveMessage1} />
<MessageBlock aria-live="assertive" message={assertiveMessage2} />
<MessageBlock aria-live="polite" message={politeMessage1} />
<MessageBlock aria-live="polite" message={politeMessage2} />
</div>
This should be replace with a Fragment.
- Dominant language
- JavaScript
- Stars
- 205
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
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.
More from AlmeroSteyn/react-aria-live
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
-
Difficulty 1/5 Under an hour Newbie friendliness 38/100
AlmeroSteyn/react-aria-live#35 · 2 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
AlmeroSteyn/react-aria-live#20 · 1 comment · 5 reactions ·
-
License? Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
AlmeroSteyn/react-aria-live#17 · 1 comment · 2 reactions ·
-
TypeScript Open
Difficulty 5/5 Over a week Newbie friendliness 20/100
AlmeroSteyn/react-aria-live#14 · 1 comment ·
All issues in AlmeroSteyn/react-aria-live
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
[Block] Latest Posts [Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
sugarlabs/musicblocks#8847 ·