Idiomatic HTML
Addressability
- Each page should be universally addressable via the URL.
Accessibility
Accessibility refers to the design of products, devices, services, or environments for people who experience disabilities.
Element Usage
- Do not nest anchor (
a) elements in other anchor (a) elements. - Only use anchor (
a) elements when navigating to a new page. - Use button (
button) elements for actions which do not cause page navigation. - Avoid
onclickevents on non-interactable elements.