Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprenda Accessibility and ARIA Roles | Enhancing Accessibility and SEO
Build Meaningful and Accessible Web Pages

bookAccessibility and ARIA Roles

When you build web pages, making them accessible to everyone—including people using screen readers or assistive technologies—is essential. Two key concepts in accessibility are using a logical heading order and applying ARIA (Accessible Rich Internet Applications) roles. Headings help users understand the structure of your content, while ARIA roles provide extra meaning to elements that might not be inherently semantic. Using these tools correctly ensures that your pages are not only readable but also navigable for all users.

index.html

index.html

copy

In this example, the heading order starts with a single h1 for the page title, followed by h2 headings for major sections, and h3 for subsections. This logical order helps screen readers and users quickly understand the page hierarchy. ARIA roles like role="article" and role="contentinfo" clarify the purpose of elements for assistive technologies, while attributes such as aria-label and aria-labelledby provide accessible names for navigation and sections.

question mark

Which of the following are best practices for accessibility and ARIA role usage?

Select the correct answer

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 3. Capítulo 2

Pergunte à IA

expand

Pergunte à IA

ChatGPT

Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo

Suggested prompts:

Can you give examples of how to use ARIA roles and attributes in HTML?

What are some common mistakes to avoid with heading order and ARIA roles?

How do I test if my web page is accessible for screen readers?

Awesome!

Completion rate improved to 8.33

bookAccessibility and ARIA Roles

Deslize para mostrar o menu

When you build web pages, making them accessible to everyone—including people using screen readers or assistive technologies—is essential. Two key concepts in accessibility are using a logical heading order and applying ARIA (Accessible Rich Internet Applications) roles. Headings help users understand the structure of your content, while ARIA roles provide extra meaning to elements that might not be inherently semantic. Using these tools correctly ensures that your pages are not only readable but also navigable for all users.

index.html

index.html

copy

In this example, the heading order starts with a single h1 for the page title, followed by h2 headings for major sections, and h3 for subsections. This logical order helps screen readers and users quickly understand the page hierarchy. ARIA roles like role="article" and role="contentinfo" clarify the purpose of elements for assistive technologies, while attributes such as aria-label and aria-labelledby provide accessible names for navigation and sections.

question mark

Which of the following are best practices for accessibility and ARIA role usage?

Select the correct answer

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 3. Capítulo 2
some-alt