Accessibility: Use proper semantic HTML
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- html, react, typescript
- Domain
- accessibility, frontend, web-dev
Research direction
Locate the React components that render the item pages and inspect the current heading, subtitle, description, and keyboard-binding tooltip markup. Update the structure so each page has an h1 for the item name and valid semantic elements for the remaining text, then verify multi-line descriptions and tooltips remain visually correct and accessible.
Written by the indexing model from the issue text.
Description
Issue
On the item pages, the name, subtitle and description are all heading tags.
Subtitle and Description are not headings.
Also these pages do not have an h1.
Suggestion
Use h1 for the item name.
Use a <p> or <div> tag with font-size: 1.6rem as subtitle.
Use a <p> tag with font-size: 1rem as description.
For multi-line descriptions, use <span> with display: block to emulate a <div>, while conforming to the HTML spec.
The tooltips on the keyboard bindings can probably also be done with <span>.
Elements like <div> and <p> are not permitted inside <p> itself.
Here's an example of what I mean:
- Dominant language
- TypeScript
- Stars
- 20
- Forks
- 2
- 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 AssistantNMS/WebApp
-
AssistantNMS/WebApp#46 · 8 comments · 1 assignee ·
-
Puzzle solutions Openenhancement ready
Difficulty 5/5 Over a week Newbie friendliness 15/100
AssistantNMS/WebApp#6 ·
All issues in AssistantNMS/WebApp
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
danielmiessler/LifeOS#2218 ·