diplodoc-platform / diplodoc-platform/transform
Refactor Dropdown Elements to Use Semantic HTML
Open
a11y
- Dominant language
- TypeScript
- Stars
- 69
- Forks
- 59
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 6
Description
Our current dropdown component is implemented using `
` elements, which can hinder accessibility and semantic clarity. To improve the semantic structure and accessibility of our dropdowns, we should refactor them to use HTML5 semantic tags.
Proposed Changes:
- Utilize native `` and `` elements for dropdowns where possible, which automatically provide accessibility support and expected behavior.
Benefits:
- Improves semantic meaning and accessibility for assistive technology users.
- Enhances SEO by using proper semantic tags.
Contributor guide
Assessment
This issue has not been assessed yet.