Semantic Structure and Navigation Flashcards
If a person types “vegetarian recipes” in a site search, which of the following is the best page title on the search result page?
A. Search
B. Search results
C. Search results for “vegetarian recipes”
D. Vegetarian recipes
C. Search results for “vegetarian recipes”
True or false: On a so-called single-page application — in which AJAX is used to bring in new content without refreshing or loading the entire web page — any time that the URL changes, the page title should be updated accordingly.
True
Which of the following would be the best <title> for a page describing the autocorrect features of a software product called "Tri-coil" by a company named "Bob's Brilliant Software?"</title>
A. Autocorrect features in Tri-coil, by Bob’s Brilliant Software
B. Bob’s Brilliant Software: Tri-coil - autocorrect features
C. Features
D. All of the above are equally good
A. Autocorrect features in Tri-coil, by Bob’s Brilliant Software
What is the first thing screenreader user hears?
The page title
What language does the screen reader read if no language is specified in the HTML document?
Users select a default language when installing and configuring their screen reader, so if no language is specified in the HTML document, the screen reader will read the document in the user’s default language.
Identifying the language of a document or part of a document is important for users of:
A. Voice recognition software
B. Screen readers
C. Screen magnifiers
D. All of the above
B. Screen readers
The correct language code for German web content is:
A. lang=”en”
B. lang=”German”
C. lang=”german”
D. lang=”deutch”
E. lang=”de”
F. lang=”d”
E. lang=”de”
The correct location to identify the main language of an entire page is:
A. On the <!doctype> element
B. On the <html> element
C. On the <body> element
D. In a <meta></meta> element in the <head> of the document
E. On every block level element in the content
B. On the <html> element
If the user has the screen reader language set to French and a web page is written in English but does NOT specify the language of the document in the markup, how will the screen reader read the text?
A. It will translate the text to French
B. It will notify the user that there is a mismatch in languages
C. It will read the English words using French pronunciation rules
D. It will detect the language automatically and read the text with the correct pronunciation
E. It will cause the screen reader to turn off
C. It will read the English words using French pronunciation rules
All of the following are valid ARIA landmark roles except:
A. banner
B. navigation
C. main
D. end
E. search
D. end
A page with 47 landmarks:
A. Shows a high level of dedication to accessibility best practices
B. Probably has too many landmarks to be optimally useful to screen reader users
C. Demonstrates the popularity of the web page
D. Is using deprecated markup, and should be updated with more modern methods
B. Probably has too many landmarks to be optimally useful to screen reader users
If there are multiple navigation landmarks in the same page:
A. Each landmark should have its own unique title attribute
B. Screen readers will ignore all but the first one
C. The markup is invalid: there should be only one navigation landmark per page
D. The screen reader is likely to crash, especially older versions
E. Each landmark should have its own aria-label or aria-labelledby attribute
E. Each landmark should have its own aria-label or aria-labelledby attribute
Which of the following does NOT represent best practice, in terms of creating a structured outline of the content with headings?
A. <h1>
<h2>
<h2>
<h3>
<h4>
<h2>
B. <h1>
<h2>
<h2>
<h2>
<h3>
<h4>
C. <h1>
<h3>
<h4>
<h3>
<h4>
<h3>
D. <h1>
<h2>
</h2></h1></h3></h4></h3></h4></h3></h1></h4></h3></h2></h2></h2></h1></h2></h4></h3></h2></h2>
C. <h1>
<h3>
<h4>
<h3>
<h4>
<h3>
</h3></h4></h3></h4></h3>
If the heading level 1 (<h1>) at the beginning of the main content says “How to hang ten on a surfboard,” the most appropriate <title> for the page from among the options below would be:</title>
A. How to ride a surfboard
B. Surfing tutorial
C. Summers in California
D. How to hang ten on a surfboard
E. An article describing how to hang ten on a surfboard, describing the techniques and circumstances in which it is possible to do it
D. How to hang ten on a surfboard
Which of the following will be recognized as a valid heading by screen readers?
A. <h1></h1>
B. <h7>Legal disclaimer</h7>
C. <div role="heading" aria-level="3">The secrets beneath the ocean’s surface</div>
D. <p class="heading level2" style="font-size: 200%; font-weight: bold">Understand yourself</p>
C. <div role="heading" aria-level="3">The secrets beneath the ocean’s surface</div>
True or False: WCAG 2.0 level double A (AA) requires headings to be in a valid hierarchy under all circumstances. A heading 4 (<h4>) cannot directly follow a heading 2 (<h2>), for example. The next subheading under the heading 2 (<h2>) MUST be a heading 3 (<h3>).
False
True or False: Screen readers will read the alt text of an image within a heading as part of the heading text.
True
What is the official character limit within a heading?
A. 256 characters
B. 140 characters
C. 1024 characters
D. It depends on the level of the heading
E. There is no official limit
E. There is no official limit
All of the following statements are true, except:
A. Users should be warned if a link opens a new window.
B. Link text should include words like “link” or “click” so screen reader users know it is a link.
C. For images used as links, the alternative text for the image functions as link text for screen reader users.
D. Links with the same text should go to the same place.
B. Link text should include words like “link” or “click” so screen reader users know it is a link.
True or false: Links must be visually distinguishable from the surrounding non-link text
True
True or false: Links can be the same color as the surrounding non-link text as long as an underline appears on mouse hover and on keyboard focus.
False
The main navigation menu should:
A. Be consistently located
B. Be consistently ordered
C. Be positioned horizontally
D. Include drop-down submenus
E. A and B
F. All of the above
E. A and B