Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor Dropdown Elements to Use Semantic HTML #588

Open
martyanovandrey opened this issue Dec 17, 2024 · 0 comments
Open

Refactor Dropdown Elements to Use Semantic HTML #588

martyanovandrey opened this issue Dec 17, 2024 · 0 comments
Labels

Comments

@martyanovandrey
Copy link
Contributor

Our current dropdown component is implemented using <div> 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 <select> and <option> 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Todo
Development

No branches or pull requests

1 participant