forked from mirrors/gecko-dev
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](https://searchfox.org/mozilla-central/rev/9cd4ea81e27db6b767f1d9bbbcf47da238dd64fa/toolkit/components/aboutconfig/test/browser/browser_edit.js#418-424): ``` <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` Differential Revision: https://phabricator.services.mozilla.com/D205112 |
||
|---|---|---|
| .. | ||
| content | ||
| test/browser | ||
| jar.mn | ||
| moz.build | ||