[Webkit-unassigned] [Bug 136751] New: AX: img alt not included in label computation for form elements
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Sep 11 12:27:39 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=136751
Summary: AX: img alt not included in label computation for form
elements
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Keywords: InRadar
Severity: Normal
Priority: P2
Component: Accessibility
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: jcraig at apple.com
CC: webkit-bug-importer at group.apple.com
Bryan Garaventa writes
* SUMMARY
When a form field is explicitly labelled using a Label element with matching For and ID attributes, and the Label includes an IMG tag that includes alternative text, the accessible name on the form field object is not set to match the alternative text of the IMG.
Example:
<label for="opt1">
<input id="opt1" type="checkbox" data-price="15.94">
<img title="A Short History of Nearly Everything by Bill Bryson ($15.94)" alt="A Short History of Nearly Everything by Bill Bryson ($15.94)" src="img/AShortHistoryOfNearlyEverything.jpg">
</label>
Live demo:
http://whatsock.com/tsg/Coding%20Arena/Web%20Chat%20and%20Dynamic%20Message%20Announcement/Dynamic%20Message%20Announcement/demo.htm
(Workaround is to use @aria-labelledby)
--
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