MugUp logoMugUp
HomeBrowseAboutBlog
LoginSign Up
MugUp

Plan your day, study, read, write and track your habits in one app.

Follow MugUp

Product

  • Features
  • Compare
  • Free Tools
  • Deck Library
  • MugUp for Discord

Community

  • Blog
  • Changelog
  • Feature Requests
  • Deck Requests

Company

  • Home
  • About
  • Contact

© 2026 MugUp. All rights reserved.

Terms of ServicePrivacy PolicyCookie Policy
  1. Browse decks
  2. Frontend Engineering Fundamentals
  3. HTML Semantics and Accessibility
Public deck

Frontend Engineering Fundamentals

The frontend half of the engineering set: HTML semantics and accessibility, CSS layout and the cascade, JavaScript core semantics, the event loop, and React. Useful both for interviews and for day-to-day work.

Engineering
AShared by Alex Chen
1Sign in to add this deckTry itSign in to clone

Add it to your projects to study it here with your progress saved. Try it plays a round and saves nothing. Clone makes your own copy that you can change.

You’re reading a free preview. Sign up to see every topic and question — and to play this deck as games.

See the whole deck

HTML Semantics and Accessibility

Choosing elements for meaning rather than appearance, and the accessibility behaviour that comes free with native HTML.

Try this topicBack to deck

Content

60 total questions

MCQ: 15
Fill-in: 11
Flashcards: 19
Pair match: 15
HTML Semantics and Accessibility – Flashcards
Flashcards

Card #1

What does it mean for an HTML element to be 'semantic'?

Card #2

When should you use <button> instead of a clickable <div>?

Card #3

What is the difference between <section> and <div>?

16 more questions in this game

Showing 3 of 19. Sign up free to see the rest.

Sign up freeLog in
HTML Semantics and Accessibility – MCQ
Multiple Choice Questions
  1. 1. A 'Changes saved' message should be read out without interrupting what the screen reader is saying. Which attribute fits?

    • aria-atomic="true"
    • aria-live="assertive"
    • aria-live="polite"
    • aria-busy="true"
  2. 2. What is the native way to group a set of radio buttons and give the group a name?

    • A fieldset element with a legend
    • A div with role="radio" and a title
    • A ul element with an aria-label
    • A section element with an h2 inside
  3. 3. Why set lang="en" on the html element?

    • So the browser loads English fonts before other fonts
    • So form fields accept English characters only
    • So screen readers pick the right voice and pronunciation
    • So search engines stop showing the page in other countries
12 more questions in this game

Showing 3 of 15. Sign up free to see the rest.

Sign up freeLog in
HTML Semantics and Accessibility – Fill-in-the-blank
Fill in the Blank
  1. 1. Adding the ___ attribute to a region makes everything in it unfocusable and unclickable.

    Answer:inert

    Hint: Five letters

  2. 2. In a data table, a th with scope="___" is a header for the cells below it.

    Answer:colalso: column

    Hint: Short for column

  3. 3. The ___ media query lets you tone down animation for people who have asked their system for less motion.

    Answer:prefers-reduced-motion

    Hint: Starts with prefers

8 more questions in this game

Showing 3 of 11. Sign up free to see the rest.

Sign up freeLog in
HTML Semantics and Accessibility – Pair match
Pair Match
role="alert"↔Urgent message announced immediately
role="presentation"↔Strips an element's own role, as on a layout table
figcaption↔Caption for the figure element it sits in
12 more questions in this game

Showing 3 of 15. Sign up free to see the rest.

Sign up freeLog in