Closed Bug 499140 Opened 15 years ago Closed 15 years ago

Set container-live-role attribute for all containers with default or explicit aria-live

Categories

(Core :: Disability Access APIs, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: MarcoZ, Assigned: davidb)

References

Details

(Keywords: access)

Attachments

(2 files)

Attached file Testcase
Found this while trying to verify bug 391829 with ChatZilla. ChatZilla sets an explicit aria-live attribute on the table that has a role of "log", and the container-live-role is not exposed. See testcase.
Assignee: nobody → bolterbugz
Status: NEW → ASSIGNED
Attached patch patch 1Splinter Review
This patch allows the exposure of live-container-role for any container with a live attribute and a role, not just for roles with default aria-live. The level (polite, assertive, off) is given based on the user supplied aria-live value of the container if present, otherwise on the default aria-live value for the container (based on our liveAttRule).

It is a more general, powerful solution I think.
Attachment #383974 - Flags: review?(marco.zehe)
Attachment #383974 - Flags: review?(surkov.alexander)
Comment on attachment 383974 [details] [diff] [review]
patch 1

r=me, thanks!
Attachment #383974 - Flags: review?(marco.zehe) → review+
Attachment #383974 - Flags: review?(surkov.alexander) → review+
Comment on attachment 383974 [details] [diff] [review]
patch 1


>       // container-live-role object attribute
>       testAttrs("log", {"container-live-role" : "log"}, true);
>+      testAttrs("logAssertive", {"container-live-role" : "log"}, true);
>       testAttrs("marquee", {"container-live-role" : "marquee"}, true);
>       testAttrs("status", {"container-live-role" : "status"}, true);
>       testAttrs("timer", {"container-live-role" : "timer"}, true);
>       testAttrs("logChild", {"container-live-role" : "log"}, true);
>+      testAttrs("logAssertive", {"container-live-role" : "log"}, true);

should be logAssertiveChild I guess
Summary: If element contains log, marquee or timer, and an explicit aria-live attribute, container-live-role attribute is not set. → Set container-live-role attribute for all containers with default or explicit aria-live
(In reply to comment #3)
> should be logAssertiveChild I guess

Fixed
Pushed http://hg.mozilla.org/mozilla-central/rev/6641b775a1ef
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: