Skip to main content
RAWeb 1.1RAAM 1.1

User interface component

This term is defined by more than one standard, and the wording differs. Each definition below is the one that applies to that standard’s criteria.

Definition in RAWeb 1.1

A user interface component is an element with which the user can interact, for example a button, a link or an input. Some components can be more complex, such as a menu, a dialogue window or a tab system. Finally, a user interface component can be based on native HTML elements or developed from scratch using JavaScript and WAI-ARIA attributes. In particular, for elements with WAI-ARIA attributes corresponding to a design pattern it is recommended to consider the WAI-ARIA 1.1 Authoring Practices document when implementing them.

Definition in RAAM 1.1

A user interface component is an element with which the user can interact, for example a button, a link or an input zone. Some components can be more complex, such as a menu, a dialogue window or a system of tabs. Finally, a user interface component can be based on elements native to the platform language or developed from scratch.

Note: Not all native HTML interface components are found in mobile application development languages. For example, radio buttons or checkboxes do not exist as such in applications developed for iOS. Developers will then need to use the most appropriate components available in development languages to fulfil a similar function. To reproduce what would be a list of radio buttons, it is possible, for example, to use lists of buttons associated with a selected or unselected state. Therefore, during screen reader tests, it is possible that the declared role does not correspond to the role displayed by the interface (for example, a button that looks like a radio button). Nevertheless, if the role and state of the component are relevant and accessible to assistive technologies, then the criterion will be considered compliant for this component.