Decided to replace Vanilla JS bit in sustainable-rails.com with a custom element. One thing it's making me realize is the following rule of thumb:
If you are using data- element, stop and consider if an ARIA role would be more appropriate
Decided to replace Vanilla JS bit in sustainable-rails.com with a custom element. One thing it's making me realize is the following rule of thumb:
If you are using data- element, stop and consider if an ARIA role would be more appropriate