Dynamic Updates, AJAX, and Single-Page Apps Flashcards
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
B. Loading or reloading a page
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. tabindex=”-1”
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.
C. The element that triggers the focus change must include aria-haspopup=”true”.
True or False: ARIA live announcements are an effective way to notify users of new content without moving the user’s focus
true
True or False: aria-live=”assertive” always gives screen reader users updates, while aria-live=”polite” asks the user if they would like updates.
false
True or False: The ARIA live region must be present on the page and must be empty before inserting the content to be announced.
True
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
E. B and C
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.
False
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.
False
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
D. A and B
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.
true
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.
B. Placeholders for content that is still loading should inform users the content is being loaded.
True or False: Infinite scrolling may prevent a user from accessing information that comes after the infinite scrolling area.
True
True or False: Giving a screen-reader only method for skipping past scrolling content is an acceptable method for implementing infinite scrolling accessibly.
False
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.
False