Why should I use native HTML?
Question
Answer
Using native HTML helps your code function better for many users because native code is more likely to work on multiple browsers and with different types of assistive technology, such as screen readers.
Additionally, using native HTML can be more straightforward for developers compared to custom components. For example, if you are creating a custom button element, then you need to ensure you've added the correct role="button"
attribute, whereas a button created using the native HTML <button>
tag inherently communicates the role.
Free Tools to Continue Learning
Accessible Web RAMP
Monitor your website and manage your progress towards WCAG conformance.
Accessible Web Academy
Career specific courses to help power up your accessibility knowledge.