|
|
|
|
|
by _heimdall
657 days ago
|
|
This would be way more helpful if browsers all supported extending built-in elements and inheriting accessibility features. For example, if `class DropdownMenu extends HTMLSelectElement` worked, you could have full control of styling and functionality without having to recreate all the a11y support baked into `<select>`. As it stands today, this will be treated as a div and its all on you to make it accessible. |
|
The reasoning for choosing not to support it is here: https://github.com/WebKit/standards-positions/issues/97#issu...