HTML Accessibility Flashcards

1
Q

What does WCAG stand for?

A

Web Content Accessibility Guidelines

WCAG is a set of guidelines for making web content more accessible to people with disabilities.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the four principles of WCAG?

A

POUR: Perceivable, Operable, Understandable, Robust

These principles guide the creation of accessible web content.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Define screen readers.

A

Software programs that read the content of a computer screen out loud

Used by people who are blind or visually impaired to access the web.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are large text or braille keyboards used for?

A

Accessing the web by people with visual impairments

These tools aid in web navigation for users with vision challenges.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the function of screen magnifiers?

A

Software programs that enlarge the content of a computer screen

Used by people with low vision to access the web.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are alternative pointing devices?

A

Devices like joysticks, trackballs, and touchpads used by people with mobility impairments

These devices help users navigate the web.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does voice recognition allow users to do?

A

Control a computer using their voice

This technology is especially useful for people with mobility impairments.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Name four common accessibility tools.

A
  • Google Lighthouse
  • Wave
  • IBM Equal Accessibility Checker
  • axe DevTools

These tools are used to audit the accessibility of a website.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Why is proper heading level structure important?

A

It creates a logical structure for content, aiding assistive technology users

Helps users understand the content of a website.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What elements should be used in tables for accessibility?

A
  • th element for header cells
  • td element for data cells
  • caption element for table title

These elements help assistive technologies understand the structure of the table.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the importance of having an associated label for inputs?

A

Helps people using assistive technologies understand the purpose of the input

The label element should be used for this association.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the purpose of the alt attribute?

A

Provides a text alternative for images

This aids users with assistive technologies in understanding image content.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What should descriptive link text do?

A

Help users understand the purpose of the link

This is essential for users relying on assistive technologies.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What should be provided for audio and video content to make it accessible?

A
  • Captions
  • Transcripts
  • Audio descriptions

These adaptations assist users with hearing and visual impairments.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the tabindex attribute used for?

A

To make elements focusable and define the navigation order using the keyboard

Values should be 0 or -1; values greater than 0 should be avoided.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What does the accesskey attribute define?

A

A keyboard shortcut for an element

This helps users with mobility impairments navigate the website more easily.

17
Q

What does WAI-ARIA stand for?

A

Web Accessibility Initiative - Accessible Rich Internet Applications

It enhances HTML elements with attributes for better accessibility.

18
Q

What are aria roles used for?

A

To define the purpose of HTML elements for assistive technologies

Examples include role=’tab’, role=’menu’, and role=’alert’.

19
Q

List the six main categories of ARIA roles.

A
  • Document structure roles
  • Widget roles
  • Landmark roles
  • Live region roles
  • Window roles
  • Abstract roles

These categories help users navigate and understand content.

20
Q

What is the purpose of the aria-label attribute?

A

To give an element a programmatic name for accessibility

Useful when the visual label is not text.

21
Q

What does the aria-hidden attribute do?

A

Hides an element from assistive technologies

This is used for decorative images that do not convey meaningful content.

22
Q

What does the aria-expanded attribute indicate?

A

The state of a toggle feature to screen reader users

It helps users understand whether a menu or section is expanded or collapsed.

23
Q

What is the function of the aria-live attribute?

A

Indicates that changes to an element’s content should be announced immediately to screen reader users

This is useful for dynamic content updates.

24
Q

What are common ARIA states?

A
  • aria-haspopup
  • aria-checked
  • aria-disabled
  • aria-selected

These attributes indicate the state of an element for assistive technologies.

25
What does the aria-haspopup attribute indicate?
That an interactive element will trigger a pop-up element when activated ## Footnote It must be used with specific roles like menu or dialog.
26
What does the aria-checked attribute signify?
Whether an element is in the checked state ## Footnote Commonly used for custom checkboxes and radio buttons.
27
What does the aria-disabled attribute indicate?
That an element is disabled only to assistive technologies ## Footnote This informs users that the element cannot be interacted with.
28
What does the aria-selected attribute indicate?
That an element is selected ## Footnote This is applicable for custom controls like tabs or listboxes.
29
What is the purpose of the aria-controls attribute?
Associates an element with another element it controls ## Footnote This helps clarify relationships between elements for assistive technologies.
30
What does the aria-describedby attribute do?
Provides additional information about an element by linking it to another element ## Footnote This is useful for giving context to inputs or error messages.