Web accessibility principles - 4 Flashcards

1
Q

What is the primary focus of the Robust principle in web accessibility?
A. Ensuring web content works only on the latest browsers.
B. Guaranteeing compatibility with a wide range of user agents, including assistive technologies.
C. Improving the visual design of websites for all users.
D. Enhancing the speed of web pages.

A

B

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

Why is it challenging to ensure compatibility with all user agents?
A. Many user agents do not support HTML and CSS.
B. There are too many combinations of browsers, platforms, and assistive technologies.
C. Older browsers automatically block accessible content.
D. Assistive technologies do not rely on standard web content.

A

B

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

Why might a web developer choose not to support a particular browser version?
A. The browser has a small user base or lacks necessary features for accessibility.
B. The browser is too popular, leading to server overload.
C. The browser does not allow visual customizations.
D. The browser is not open source.

A

A

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

Which of the following is true about screen readers and browser compatibility?
A. All screen readers handle web content in the same way.
B. Screen readers rely entirely on the browser to ensure accessibility.
C. Newer versions of screen readers tend to have better support for technologies like ARIA.
D. Screen readers do not require specific coding techniques to function correctly.

A

C

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

What is one benefit of using validated markup?
A. It guarantees perfect accessibility across all user agents.
B. It eliminates the need for dynamic updates to content.
C. It reduces issues that could lead to compatibility problems.
D. It removes the need for using ARIA attributes.

A

C

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

What is a recommended tool for validating HTML markup?
A. JAWS Screen Reader
B. W3C HTML Validator
C. Firebug
D. Google Analytics

A

B

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

Which statement is true about valid markup and accessibility?
A. Valid markup guarantees accessibility.
B. Accessibility is completely independent of code validity.
C. Valid markup helps but is not always required for accessibility.
D. Invalid markup improves compatibility with older browsers.

A

C

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

What does ARIA stand for?
A. Accessible Rich Internet Applications
B. Accessibility Resources for Interactive Applications
C. Adaptive Reader Integration Assistance
D. Advanced Role Integration Accessibility

A

A

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

Why is ARIA important for dynamic web content?
A. It increases the speed of page loading.
B. It improves SEO rankings.
C. It helps assistive technologies understand the name, role, and value of interactive components.
D. It replaces the need for semantic HTML.

A

C

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

Which ARIA property would you use to indicate whether a tab is currently selected?
A. aria-label
B. aria-selected
C. aria-hidden
D. aria-expanded

A

B

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

What does aria-expanded=”true” indicate to assistive technologies?
A. An element is disabled.
B. An element is expanded and its content is visible.
C. An element is hidden from the user.
D. A tab is selected.

A

B

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

Why must ARIA properties like aria-expanded or aria-selected be updated dynamically?
A. To ensure the page reloads when changes occur.
B. To allow users to manually update the settings.
C. To reflect the current state of the interactive component to assistive technologies.
D. To improve the design of the interface.

A

C

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

A website contains a menu with expandable sections. What ARIA attribute should be used to indicate whether a section is currently expanded?
A. aria-label
B. aria-expanded
C. aria-hidden
D. aria-checked

A

B

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

You are designing a custom dropdown menu. What ARIA attribute is essential to communicate its role to screen readers?
A. role=”menu”
B. aria-expanded=”dropdown”
C. aria-checked=”true”
D. aria-role=”true”

A

A

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

If a screen reader user cannot tell that a button has been pressed, what might the developer have forgotten to include?
A. Visual indicators like color changes
B. A dynamic update to the button’s ARIA properties
C. A valid CSS file
D. A label in plain text next to the button

A

B

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

Which of the following is an example of invalid ARIA usage?
A. Using ARIA attributes on interactive components.
B. Applying ARIA roles to elements already natively interactive (e.g., <button>).
C. Updating ARIA properties dynamically using JavaScript.
D. Combining ARIA with semantic HTML.</button>

A

B

17
Q

How can developers test whether ARIA attributes are functioning correctly?
A. Rely on browser testing alone.
B. Use assistive technology, like screen readers, during development.
C. Disable all ARIA attributes and check for functionality.
D. Run the website through a color contrast analyzer.

A

B

18
Q

A user reports that their screen reader does not announce the role of a custom slider component. What should the developer check?
A. The CSS for the slider
B. The ARIA attributes specifying the role and state of the slider
C. The contrast ratio of the slider’s design
D. The browser version being used

A

B

19
Q

When should developers use ARIA attributes instead of relying solely on semantic HTML?
A. When native HTML elements do not support the desired behavior or role.
B. When designing static web pages.
C. To replace existing accessibility features in HTML.
D. To avoid using CSS for styling.

A

A

20
Q

Why might using valid HTML markup reduce the need for ARIA attributes?
A. Assistive technologies can interpret semantic HTML directly.
B. Valid HTML automatically validates CSS.
C. ARIA is incompatible with semantic HTML.
D. Valid HTML blocks older browser support.

A

A