Accessibility Development Rules
Last modified by Vincent Massol on 2026/11/14 22:49
These rules come on top of the ones enforced by the automated tests, which can't check them. They apply to all HTML and CSS code, along with the HTML & CSS Code Style.
The following rules must be followed:
- Only use icons along with a text alternative. The text alternative can be visually hidden.
- The target size for pointer inputs must be at least 24 by 24 CSS pixels. In LESS, use
@target-size-minimum. See the exceptions.
The following rules should be followed:
- The target size for pointer inputs should be at least 44 by 44 CSS pixels. In LESS, use
@target-size-recommended. See the exceptions. - Properly hide elements.