Skip to content
This repository has been archived by the owner on Oct 3, 2020. It is now read-only.

Commit

Permalink
Bug 663136 - Add test coverage for tablist as implicit live region. r…
Browse files Browse the repository at this point in the history
…=MarcoZ
  • Loading branch information
dbolter committed Jun 13, 2011
1 parent e48fca3 commit 3a4f084
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion accessible/tests/mochitest/attributes/test_obj.html
Expand Up @@ -53,6 +53,7 @@
testAttrs("logAssertive", {"live" : "assertive"}, true);
testAttrs("marquee", {"live" : "off"}, true);
testAttrs("status", {"live" : "polite"}, true);
testAttrs("tablist", {"live" : "polite"}, true);
testAttrs("timer", {"live" : "off"}, true);

// container-live object attribute
Expand All @@ -62,6 +63,7 @@
testAttrs("logAssertiveChild", {"container-live" : "assertive"}, true);
testAttrs("marqueeChild", {"container-live" : "off"}, true);
testAttrs("statusChild", {"container-live" : "polite"}, true);
testAttrs("tablistChild", {"container-live" : "polite"}, true);
testAttrs("timerChild", {"container-live" : "off"}, true);

// container-live-role object attribute
Expand All @@ -75,6 +77,7 @@
testAttrs("logAssertiveChild", {"container-live-role" : "log"}, true);
testAttrs("marqueeChild", {"container-live-role" : "marquee"}, true);
testAttrs("statusChild", {"container-live-role" : "status"}, true);
testAttrs("tablistChild", {"container-live-role" : "tablist"}, true);
testAttrs("timerChild", {"container-live-role" : "timer"}, true);

// absent aria-label and aria-labelledby object attribute
Expand Down Expand Up @@ -120,7 +123,11 @@
title="make HTML <output> accessible">
Mozilla Bug 558036
</a>

<a target="_blank"
href="https://bugzilla.mozilla.org/show_bug.cgi?id=663136"
title="Add test coverage for tablist as implicit live region">
Mozilla Bug 663136
</a>
<p id="display"></p>
<div id="content" style="display: none"></div>
<pre id="test">
Expand Down Expand Up @@ -154,6 +161,7 @@
<div id="logAssertive" role="log" aria-live="assertive">excuse <div id="logAssertiveChild">me</div></div>
<div id="marquee" role="marquee">excuse <div id="marqueeChild">me</div></div>
<div id="status" role="status">excuse <div id="statusChild">me</div></div>
<div id="tablist" role="tablist">tablist <div id="tablistChild">tab</div></div>
<div id="timer" role="timer">excuse <div id="timerChild">me</div></div>

<!-- aria-label[ledby] should not be an object attribute -->
Expand Down

0 comments on commit 3a4f084

Please sign in to comment.