// Bug 996821
// Check that landmark elements get accessibles with styled overflow.
testRole("section_overflow", ROLE_SECTION);
testRole("nav_overflow", ROLE_LANDMARK);
testRole("header_overflow", ROLE_SECTION);
testRole("aside_overflow", ROLE_LANDMARK);
testRole("footer_overflow", ROLE_SECTION);
testRole("article_overflow", ROLE_ARTICLE);
// test html:div
testRole("sec", ROLE_SECTION);
// Test html:blockquote
testRole("quote", ROLE_BLOCKQUOTE);
// Test html:h, all levels
testRole("head1", ROLE_HEADING);
testRole("head2", ROLE_HEADING);
testRole("head3", ROLE_HEADING);
testRole("head4", ROLE_HEADING);
testRole("head5", ROLE_HEADING);
testRole("head6", ROLE_HEADING);
// Test that an html:input @type="file" is exposed as ROLE_PUSHBUTTON.
testRole("data", ROLE_PUSHBUTTON);
// Test that input type="checkbox" and type="radio" are
// exposed as such regardless of appearance style.
testRole("checkbox_regular", ROLE_CHECKBUTTON);
testRole("checkbox_appearance_none", ROLE_CHECKBUTTON);
testRole("radio_regular", ROLE_RADIOBUTTON);
testRole("radio_appearance_none", ROLE_RADIOBUTTON);
// Test regular paragraph by comparison to make sure exposure does not
// get broken.
testRole("p", ROLE_PARAGRAPH);
<nav id="nav">a nav</nav>
<header id="header">a header</header>
<footer id="footer">a footer</footer>
<article id="article">an article</article>
<aside id="aside">by the way I am an aside</aside>
<section id="section">a section</section>
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.