Dynamic Updates, AJAX, and Single-Page Apps Flashcards

1
Q

Which of the following methods for notifying users of new content does not require JavaScript?

A. Moving focus within a page or to another element such as a dialog
B. Loading or reloading a page
C. ARIA live announcements
D. All methods require JavaScript

A

B. Loading or reloading a page

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

When moving focus to an element that is not focusable, it is important to include which one of the following attributes on the container:

A. tabindex=”-1”
B. tabindex=”0”
C. tabindex=”1”
D. aria-focus=”true”

A

A. tabindex=”-1”

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

Which of the following is NOT a consideration when moving focus to new content:

A. The container on which focus is set must not be empty.
B. Focus should not move unexpectedly.
C. The element that triggers the focus change must include aria-haspopup=”true”.
D. Sending focus to AJAX content must be the last event.

A

C. The element that triggers the focus change must include aria-haspopup=”true”.

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

True or False: ARIA live announcements are an effective way to notify users of new content without moving the user’s focus

A

true

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

True or False: aria-live=”assertive” always gives screen reader users updates, while aria-live=”polite” asks the user if they would like updates.

A

false

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

True or False: The ARIA live region must be present on the page and must be empty before inserting the content to be announced.

A

True

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

If one of your pages employs a time-limit, which of the following are recommended?

A. Ensure the time limit is greater than four hours
B. Provide a warning when the time limit is about to expire
C. Provide an option to extend the session
D. A and B
E. B and C

A

E. B and C

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

True or false: When a user allows a session to time out, it is not necessary to save data because the user would have extended the session if they intended to continue.

A

False

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

True or false: ARIA live announcements should be used to announce that the time left on a countdown timer every time the visible time remaining changes.

A

False

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

Accessibility problems associated with automatically refreshing or reloading a page include:

A. Users may not have time to read content before it disappears
B. Users may lose their place on the page
C. Users may have a seizure
D. A and B
E. All of the above

A

D. A and B

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

True or false: If refreshing page content is important for a web site, it is recommended that users be notified that new content is available using a dialog or an ARIA alert message depending on the urgency of the update.

A

true

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

While portions of a page are still loading (lazy loading):

A. Screen Readers should announce every time new content has loaded.
B. Placeholders for content that is still loading should inform users the content is being loaded.
C. Newly loaded content should receive screen reader focus.
D. None of the above; this technique should be avoided.

A

B. Placeholders for content that is still loading should inform users the content is being loaded.

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

True or False: Infinite scrolling may prevent a user from accessing information that comes after the infinite scrolling area.

A

True

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

True or False: Giving a screen-reader only method for skipping past scrolling content is an acceptable method for implementing infinite scrolling accessibly.

A

False

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

True or False: Interstitial views are intended to be temporary and therefore it is not required to make screen reader users aware of their presence.

A

False

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

Regarding single-page applications, which of the following statements is FALSE?

A. Screen reader users must be made aware of new content loaded on the page.
B. Focus management is often an essential part of making a single-page application accessible.
C. The <title> of a single-page application should not be updated when the user has selected a link that causes an AJAX event.
D. A user must be able to use the browser's back and forward functionality as would be expected in a non-single-page application.</title>

A

C. The <title> of a single-page application should not be updated when the user has selected a link that causes an AJAX event.</title>

17
Q

True or False: ARIA is a programming language that communicates information like names, roles, and values to screen readers.

A

FALSE