Images and Multimedia Flashcards

1
Q

True or false: good alt text should include all the visual content of an image.

A

false

alt text should convey the purpose of the image for non-sighted users

(a search icon should have alt text of ‘search’, not ‘magnifying glass’)

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

True or false: decorative images don’t need alt text

A

false

decorative images should have alt=”” or be added as css background images, otherwise screenreaders will read out the file name

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

What are four ways to add alternative text to images?

A
  1. aria-labelledby — will override all other values.
  2. aria-label — will override all other values except aria-lablledby
  3. alt — This is the standard method of providing alternative text
  4. title — Some screen readers (e.g. VoiceOver on macOS) treat the title attribute as an additional description for the image and will read both the accessible name AND the title. Others (e.g. NVDA, JAWS) will not read the title if an accessible name is available through other methods. All screen readers read the title text if no other alternative text is provided.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

True or False: Complex images should use a long description instead of alt text.

A

False

Complex images MUST be briefly described using alt text AND MUST have a more complete long description

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

How should you programmatically associate an image with its long description?

A

use aria-describedby

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

Which of the following methods can be used to add programmatically discernible alternative text to an informative background image?

A. CSS visibility: hidden on <span>
B. CSS clip on <span>
C. CSS display: none on <span>
D. aria-label on <span></span></span></span></span>

A

B. CSS clip on <span></span>

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

Why is it important that alternative text not exceed about 150 characters? (Select the best answer.)

A. Screen readers do not treat alternative text like they treat regular text in an HTML document.
B. Because all it takes is 150 characters to accurately describe an image.
C. If alternative text is longer than 150 characters, the user becomes bored listening to the image description.
D. It is not important. Alternative text can exceed 150 characters if that is needed to describe an image.

A

A. Screen readers do not treat alternative text like they treat regular text in an HTML document.

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

All of the following accessibility techniques apply to an image (<img></img>) that is purely for visual decoration, except:

A. It can be given an empty, or null, alt attribute value.
B. The image can be assigned ARIA role=”presentation”.
C. The image can be described using the alt attribute as alt=”decorative”.
D. The image can be placed in the background using CSS.

A

C. The image can be described using the alt attribute as alt=”decorative”.

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

How should you add alternative text to an inline SVG element?

A

use aria-labelledby associated with the title element

`<svg></svg>

<title>Total Widgets Purchased during 2016</title>

`

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

True or false: If an SVG contains text that must be spoken by a screen reader and is not already included in the <title> or <desc> elements, it must be associated with the <svg> element using `aria-labelledby`.</svg></desc></title>

A

True

All text within the image that needs to be spoken by a screen reader MUST be associated with the <svg> element using `aria-labelledby`.</svg>

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

Of the three ways to add SVG to a webpage, which is LEAST accessible?

A. Utilize the <img></img> tag and reference the SVG file as the source B. Embed the SVG directly (inline) into your existing HTML code, using the <svg> element.
C. Embed the SVG in an <iframe> or <embed></embed> tag, or referenced as the data attribute through an <object>.</object></svg>

A

C. Embed the SVG in an <iframe> or <embed></embed> tag, or referenced as the data attribute through an <object>.</object>

the results of using <iframe> or <object> elements are very poorly supported by assistive technologies</object>

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

What should be done to an <img></img> element to increase screen reader compatibility when an SVG is used as its source?

A. It should be assigned role=”img”.
B. It should be assigned role=”region”.
C. It should be assigned role=”presentation”.
D. Nothing should be done to the <img></img> element.

A

A. It should be assigned role=”img”.

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

Why should role=”img” be assigned to informative and actionable icon fonts?

A. It should be assigned so that screen readers will ignore icon fonts.
B. It should be assigned so that icon fonts receive visual focus.
C. It should be assigned so that screen readers will recognize icon fonts as an image.
D. Icon fonts aren’t images, so they don’t need to be assigned the role=”img”.

A

C. It should be assigned so that screen readers will recognize icon fonts as images.

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

Which of the following methods is recommended for decorative or redundant icon fonts?

A. Decorative or redundant icon fonts should be described using aria-label.
B. Decorative or redundant icon fonts should be assigned role=”img”.
C. Decorative or redundant icon fonts should be assigned an empty, or null, alt attribute.
D. Decorative or redundant icon fonts should be set to aria-hidden=”true”.

A

D. Decorative or redundant icon fonts should be set to aria-hidden=”true”.

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

True or False: Adding text within a <canvas> element or in an alt attribute on the element are both ways of adding alternative text to <canvas> elements.</canvas></canvas>

A

False

Use ARIA role="img" and aria-label or aria-labelledby on the <canvas> element.
Or add fallback text within <canvas>

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

What must be done to the <canvas> element if it is used to present an image?</canvas>

A. It must be assigned ARIA role=”presentation”.
B. It must be assigned ARIA role=”img”.
C. Nothing needs to be done to the element.
D. It must have an alt attribute.

A

B. It must be assigned ARIA role=”img”.

17
Q

True or false: Alternative text for <video> and <audio> elements can be provided using the alt attribute.</audio></video>

A

False

18
Q

What’s the difference between closed captions and open captions?

A

Closed captions are a separate file that can be toggled on or off. Open captions are part of the video file and can’t be turned off.

19
Q

Which captions format has the greatest amount of user-defined flexibility?

A

WebVTT (Web Video Text Tracks )

20
Q

The Web Content Accessibility Guidelines (WCAG) Level AA requires that captions be provided for:

A. Prerecorded multimedia (video plus audio)
B. Live multimedia (video plus audio)
C. Prerecorded video-only
D. A and B
E. All of the above

A

D. A and B

21
Q

All of the following are best practices for captions EXCEPT:

A. Caption should not exceed three lines on the screen at one time
B. Captions should be uppercase
C. The default font size for captions should be at least 22pt
D. The last caption frame should be removed from the screen during long silent intervals

A

B. Captions should be uppercase

22
Q

True or false: Users MUST be able to customize the font face, size, and color of captions.

A

False

Not always possible

23
Q

When composing transcripts, who should the target audience be?

A

people who are deafblind

24
Q

The Web Content Accessibility Guidelines (WCAG) Level AA requires that transcripts be provided for:

A. Prerecorded multimedia (video plus audio)
B. Live multimedia (video plus audio)
C. Prerecorded audio-only
D. A and C

A

C. Prerecorded audio-only

25
Q

It is acceptable for content to flash up to how many times per second?

A. 1 time
B. 3 times
C. 7 times
D. It is never acceptable for content to flash on a web page

A

B. 3 times

26
Q

WCAG Level AA allows for content to flash more than 3 times per second as long as certain conditions are met. These qualifying conditions include:

A. The flashing content contains no red.
B. The flashing area is small enough, and the colors are low contrast.
C. The flashing content has a mechanism to turn the flashing off.
D. It is impossible to quantify what may cause a seizure.

A

B. The flashing area is small enough, and the colors are low contrast.

27
Q

Which of the following attributes for an image will override the others and be the only one announced by screen readers, if all of them are present?

A. title
B. alt
C. aria-label
D. aria-labelledby

A

D. aria-labelledby

28
Q

True or False: The accessible HTML5 media player, Able Player, will automatically resize videos to fit the viewport.

A

False