[meta] Investigate elements that are failing Tier 2 a11y_checks for Password Manager
Categories
(Toolkit :: Password Manager, task, P3)
Tracking
()
People
(Reporter: ayeddi, Assigned: ayeddi)
References
(Depends on 1 open bug)
Details
(Keywords: access, meta)
We are working on enabling Tier 2 a11y-checks to ensure our products have basic accessibility built-in (bug 1692110) and before that, we need to prepare the existing code base. While we triage and investigate existent tests that would fail once the a11y-checks are enabled in the CI, the failing tests were failed-if by the bug 1854452.
This task is to track the investigation into the reasons each of these tests failed and to be able to backtrack these tests once they're resolved.
Individual bugs to block the following bugs
- (all) this meta bug
- (
Interactive elements must be labeled
/Node is enabled but disabled via the accessibility API
) bug 1854227 (a11y_checks_labeled) - (
Node is not accessible via accessibility API
/Node is not focusable via the accessibility API
/Node is enabled but disabled via the accessibility API
) Bug 1848394 (a11y_checks_focusable)
Tests affected:
FAIL toolkit/components/passwordmgr/test/browser/browser_basicAuth_multiTab.js Node is not focusable via the accessibility API button
FAIL toolkit/components/passwordmgr/test/browser/browser_doorhanger_autocomplete_values.js Node is not focusable via the accessibility API password-notification-username-dropmarker dropmarker ac-dropmarker
FAIL toolkit/components/passwordmgr/test/browser/browser_doorhanger_autocomplete_values.js Interactive elements must be labeled password-notification-username-dropmarker dropmarker ac-dropmarker
FAIL toolkit/components/passwordmgr/test/browser/browser_doorhanger_submit_telemetry.js Node is not accessible via accessibility API image
WARN toolkit/components/passwordmgr/test/browser/browser_doorhanger_submit_telemetry.js Unlabeled element removed before l10n finished richlistitem autocomplete-richlistitem -
FAIL toolkit/components/passwordmgr/test/browser/browser_preselect_login.js Interactive elements must be labeled button ac-settings-button
Jobs affected:
test-linux1804-64-qr/opt-mochitest-browser-chrome-swr-a11y-checks-
${1-7} (Try run)
Some Tier 2 accessibility checks for click events fired on controls that should be keyboard accessible and have valid labels were failing for this component. They were captured by testing/mochitest/tests/SimpleTest/AccessibilityUtils.js
via bug 1692110. These failing tests should be temporarily skipped in the directory's browser.ini
file while we investigate these failures. For all confirmed bugs individual defects should be filed.
When the individual test failures are resolved and the individual bugs are closed, remove the fail-if
condition for a11y_checks
from the appropriate files/sections to ensure better test coverage and to avoid regressions in a11y of these components.
Description
•