Glossary coding Term Page

role attribute

explicitly defines an element’s role so screen readers can announce it precisely

role-attribute #coding#javascript
Korean version

Related Concepts

Core Idea

role attribute is explicitly defines an element’s role so screen readers can announce it precisely. It usually makes the most sense alongside Semantic HTML, ARIA attributes, Focus trap.

Why It Matters Here

Mathbong reuses this term across javascript posts as shared vocabulary.

Posts Mentioning This Concept