[Webkit-unassigned] [Bug 61995] Accessibility description for an element should make use of aria-labelledby.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jun 6 16:56:55 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=61995
--- Comment #4 from Dominic Mazzoni <dmazzoni at google.com> 2011-06-06 16:56:55 PST ---
I don't have a strong opinion on title vs description; I think it's more important that WebCore presents something consistent; the Mac port can choose to map those to the NSAccessibility APIs however it wants.
Here's a simpler example: take this button:
<button>Alpha</button>
Right now WebKit returns "Alpha" as either the title or the description - I don't recall which one - but it's not both.
Now, either of these two buttons should return "Beta" in place of whatever previously returned "Alpha":
<button aria-label="Beta">Alpha</button>
<button aria-labelledby="beta">Alpha</button>
<span id="beta">Beta</span>
The ARIA spec is pretty clear that this is what should happen. Be sure to think of this in layers; WebCore should implement something that's consistent with the ARIA spec, and each WebKit port then matches this up with the appropriate platform APIs - i.e. there's no reason each platform must have a concept of "title" and "description" that agree.
For suppressing the test, look at files like LayoutTests/platform/win/Skipped - you'll need to add this test to each Skipped file for platforms that are unable to run this test. Currently that's every platform other than Mac.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list