0
0
HTMLmarkup~5 mins

Semantic elements and screen readers in HTML - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What are semantic elements in HTML?
Semantic elements clearly describe their meaning to both the browser and the developer. Examples include <header>, <nav>, <main>, <article>, and <footer>. They help organize content meaningfully.
Click to reveal answer
beginner
Why do screen readers rely on semantic elements?
Screen readers use semantic elements to understand the structure and purpose of content. This helps users who cannot see the screen navigate and comprehend the page easily.
Click to reveal answer
beginner
Which semantic element is best for the main content of a page?
The <main> element is used to wrap the main content unique to the page. It helps screen readers jump directly to the main information.
Click to reveal answer
intermediate
How does using <nav> help accessibility?
The <nav> element groups navigation links. Screen readers can identify this section and allow users to quickly find and use the site’s navigation.
Click to reveal answer
intermediate
What role do ARIA labels play alongside semantic elements?
ARIA labels provide extra information to screen readers when semantic elements alone are not enough. They improve clarity and accessibility for complex or custom components.
Click to reveal answer
Which HTML element is used to define the footer of a page or section?
A<footer>
B<section>
C<aside>
D<header>
Why should you use semantic elements instead of generic <div> tags?
AThey improve page loading speed
BThey make the page colorful
CThey help screen readers understand page structure
DThey reduce file size
Which element should wrap the main navigation links on a website?
A<header>
B<main>
C<article>
D<nav>
What does a screen reader do when it encounters a <main> element?
AHighlights the main content for the user
BSkips the content inside
CReads only the first paragraph
DIgnores it
If a custom button needs extra description for screen readers, what should you use?
AAdd a <div> around it
BUse ARIA labels
CChange its color
DUse <span> tags
Explain how semantic HTML elements improve accessibility for screen reader users.
Think about how a screen reader 'reads' the page structure.
You got /3 concepts.
    Describe the role of ARIA labels when semantic elements are not enough.
    ARIA stands for Accessible Rich Internet Applications.
    You got /3 concepts.