Closed
Bug 1882380
Opened 3 months ago
Closed 2 months ago
Update AccessibilityUtils to ensure clicking on a label text content for a form field is not failing a11y_checks
Categories
(Core :: Disability Access APIs, task)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
126 Branch
Tracking | Status | |
---|---|---|
firefox126 | --- | fixed |
People
(Reporter: ayeddi, Assigned: ayeddi)
References
(Blocks 1 open bug)
Details
(Keywords: access)
Attachments
(1 file)
Some tests are reporting failing a11y_checks while the click is sent to a text leaf within a label of a radio button with an appropriate markup, for example when span
is clicked in this case:
<label>
<input type="radio" name="type" value="Boolean">
<span data-l10n-id="about-config-pref-add-type-boolean">
Boolean
</span>
</label>
Assignee | ||
Comment 1•3 months ago
|
||
Some tests are reporting failing a11y_checks while the click is sent to a text leaf within a label of a radio button with an appropriate markup, for example when span
is clicked in this case:
<label>
<input type="radio" name="type" value="Boolean">
<span data-l10n-id="about-config-pref-add-type-boolean">
Boolean
</span>
</label>
We need to add a check in the findInteractiveAccessible()
method to allow for a label accessible to return its related form control to proceed with the a11y-checks suite, incl. the assertLabeled
check too.
Test that is affected by this change: toolkit/components/aboutconfig/test/browser/browser_edit.js
Updated•3 months ago
|
Assignee: nobody → ayeddi
Status: NEW → ASSIGNED
Pushed by ayeddi@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/00b8105467ed Update AccessibilityUtils to ensure clicking on a label text content for a form field is not failing a11y_checks. r=Jamie
Comment 3•2 months ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
status-firefox126:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•