mirror of
				https://github.com/mozilla/gecko-dev.git
				synced 2025-11-04 02:09:05 +02:00 
			
		
		
		
	
				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  | 
			||
|---|---|---|
| .. | ||
| browser.toml | ||
| browser_accessibility.js | ||
| browser_basic.js | ||
| browser_clipboard.js | ||
| browser_edit.js | ||
| browser_locked.js | ||
| browser_observe.js | ||
| browser_search.js | ||
| browser_warning.js | ||
| head.js | ||