1.5 Create Interactive Controls and Widgets Flashcards

1
Q

Designers love to push the limits of HTML/CSS. How can they help make these sites accessible?

A

Design with accessibility in mind.

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

Explain this statement: ARIA Can Both Cloak and Enhance, Creating Both Power and Danger

A

Aria can override the original semantics.

Aria can add meaning to the native code
Example

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

Give an example of how ARIA can override native semantics

A

using role overrides the HTML element type

using aria-label to override the element’s text content

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

Give an example of how ARIA can enhance native semantics

A

ARIA can describe state.
aria-pressed
aria-expanded
aria-checked

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

What is a “keyboard interaction pattern”?

A

The rules of how keyboard key strokes are used and interpreted for different aria widgets.

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

What is the keyboard interaction pattern for an Accordion widget?

A

All element that are visible are tabbable.

Arrow keys go to next/previous section header, NOT to the next item in the open section

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

What is the most common widget keyboard interaction pattern?

A

Tab to the widget
Enter opens widget
arrow keys navigate inside the widget
tab takes you out of wiget

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

Why is it important to pay attention when adding roles to elements?

A

Some roles require specific parent roles
some require specific child roles
some require certain attributes

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

Give an example of an aria role that has a required parent?

A

Tab must be child of tablist

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

Give an example of when an ARIA role must have a specific child?

A

Radiogroup must have children with role radio

Tablist must have children with role tab

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

What ARIA attribute links parent roles to their children when the children cannot be inside the parent?

A

aria-owns

aria-owns=”tab-1 tab-2 tab-3”

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

Give an example of an aria role that has required attributes?

A

role = heading requires ‘aria-level’

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

Forgetting to add a role requited attribute negates the role.
True or False?

A

False, the role will still be announced but may not function as expected

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

What are the eight ARIA landmark roles?

A
banner 
navigation
main
complementary
contentinfo
search
form
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

When should we use role = region?

A

When we want aid navigation and no other role fits

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

Name the ARIA attribute used to define a region with updating content we want announced?

A

aria-live
aria-live = polite
aria-live = assertive

17
Q

Name ARIA roles with implicit live region attributes (6)

A
log
status
alert
progressbar
marque
timer
18
Q

What ARIA attribute tells the SR which actions within a live region to announce? What is its default setting?

A

aria-relevant
can be made to announce a combo of:
additions, removals, text, all
default is text

19
Q

Why should we avoid using role = application

A

because it overrides many
assistive technology keystrokes, such as the keystrokes that allow screen reader
users to navigate by semantic elements such as headings, landmarks, tables,
etc.

20
Q

Give some examples of common ARIA widgets

A
Accordion
Button
Carousel
Checkbox
Dialog
Live Region
Radio group
Predictitve Text
Slider
Tabpanel
Tooltip
there are more