Manuel Matuzović on Nostr: Please, please, please stop using ARIA if you don't now what you're doing. Don't ...
Please, please, please stop using ARIA if you don't now what you're doing. Don't reinvent the wheel. HTML is pretty great.
First Rule of ARIA Use:
If you can use a native HTML element or attribute with the semantics and behavior you require already built in, instead of re-purposing an element and adding an ARIA role, state or property to make it accessible, then do so
https://www.w3.org/TR/using-aria/#firstrule
First Rule of ARIA Use:
If you can use a native HTML element or attribute with the semantics and behavior you require already built in, instead of re-purposing an element and adding an ARIA role, state or property to make it accessible, then do so
https://www.w3.org/TR/using-aria/#firstrule