Closed Bug 1854625 Opened 1 year ago Closed 1 year ago

Temporarily disable some Tier 2 a11y_checks for Firefox View

Categories

(Firefox :: Firefox View, task, P3)

task

Tracking

()

RESOLVED FIXED
120 Branch
Tracking Status
firefox120 --- fixed

People

(Reporter: ayeddi, Assigned: ayeddi)

References

Details

(Keywords: access)

Attachments

(1 file)

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, we are going to skip the failing tests altogether and then handle each one of them individually.

This task is to skip with fail-if condition of the failing tests while we continue investigation into the reasons these tests failed and to be able to backtrack these tests once they're resolved. A separate task to investigate the failed Tier 2 a11y_checks will be filed for an appropriate component.

Tests affected:

Result	Path	Error	Element ID	Element tagName	Element className
FAIL	browser/components/firefoxview/tests/browser/browser_feature_callout.js	Node is not accessible via accessibility API		IMG	brand-logo
FAIL	browser/components/firefoxview/tests/browser/browser_feature_callout.js	Node is not accessible via accessibility API		DIV	brand-logo
FAIL	browser/components/firefoxview/tests/browser/browser_recently_closed_tabs_windows.js	Node is not focusable via the accessibility API		A	closed-tab-li-title
FAIL	browser/components/firefoxview/tests/browser/browser_recently_closed_tabs.js	Node is not focusable via the accessibility API		A	closed-tab-li-title
FAIL	browser/components/firefoxview/tests/browser/firefoxview-next/browser_history_firefoxview_next.js	Node is not accessible via accessibility API		BUTTON	
FAIL	browser/components/firefoxview/tests/browser/firefoxview-next/browser_recentlyclosed_firefoxview_next.js	Node is not focusable via the accessibility API	fxview-tab-row-main	A	 fxview-tab-row-main 
FAIL	browser/components/firefoxview/tests/browser/firefoxview-next/browser_recentlyclosed_firefoxview_next.js	Node is not accessible via accessibility API		BUTTON	
FAIL	browser/components/firefoxview/tests/browser/firefoxview-next/browser_recentlyclosed_firefoxview_next.js	Node is not focusable via the accessibility API	fxview-tab-row-secondary-button	BUTTON	fxview-tab-row-button ghost-button icon-button semi-transparent
FAIL	browser/components/firefoxview/tests/browser/firefoxview-next/browser_recentlyclosed_firefoxview_next.js	Node is not accessible via accessibility API		BUTTON	
FAIL	browser/components/firefoxview/tests/browser/firefoxview-next/browser_recentlyclosed_firefoxview_next.js	Node is not accessible via accessibility API		BUTTON	
FAIL	browser/components/firefoxview/tests/browser/firefoxview-next/browser_syncedtabs_errors_firefoxview_next.js	Node is not accessible via accessibility API		BUTTON	
FAIL	browser/components/firefoxview/tests/browser/firefoxview-next/browser_syncedtabs_errors_firefoxview_next.js	Node is not accessible via accessibility API		BUTTON	
FAIL	browser/components/firefoxview/tests/browser/firefoxview-next/browser_syncedtabs_firefoxview_next.js	Node is not accessible via accessibility API		BUTTON	
FAIL	browser/components/firefoxview/tests/browser/firefoxview-next/browser_syncedtabs_firefoxview_next.js	Node is not accessible via accessibility API		BUTTON	
FAIL	browser/components/firefoxview/tests/browser/firefoxview-next/browser_syncedtabs_firefoxview_next.js	Node is not accessible via accessibility API		BUTTON	
FAIL	browser/components/firefoxview/tests/browser/firefoxview-next/browser_syncedtabs_firefoxview_next.js	Node is not accessible via accessibility API		BUTTON	

Jobs affected:

  1. 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.

Blocks: 1854626

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, we are going to skip the failing tests altogether and then handle each one of them individually.

This task is to skip with fail-if condition of the failing tests while we continue investigation into the reasons these tests failed and to be able to backtrack these tests once they're resolved.

Related bugs:

  • Disabling tests: meta bug 1848402
  • Investigation and remediation for components with disabled tests: meta bugs 1848394 and 1854227, Firefox View-specific meta bug 1854626
  • Explore capturing click events for a11y_checks: bug 1692110

Depends on D188927

Attachment #9354619 - Attachment description: WIP: Bug 1854625 - Temporarily disable some Tier 2 a11y_checks for Firefox View. r=sclements!,Jamie → Bug 1854625 - Temporarily disable some Tier 2 a11y_checks for Firefox View. r=sclements!,Jamie
Attachment #9354619 - Attachment description: Bug 1854625 - Temporarily disable some Tier 2 a11y_checks for Firefox View. r=sclements!,Jamie → Bug 1854625 - Temporarily disable some Tier 2 a11y_checks for Firefox View. r=kcochrane!,Jamie
Attachment #9354619 - Attachment description: Bug 1854625 - Temporarily disable some Tier 2 a11y_checks for Firefox View. r=kcochrane!,Jamie → Bug 1854625 - Temporarily disable some Tier 2 a11y_checks for Firefox View. r=sclements!,Jamie
Attachment #9354619 - Attachment description: Bug 1854625 - Temporarily disable some Tier 2 a11y_checks for Firefox View. r=sclements!,Jamie → Bug 1854625 - Temporarily disable some Tier 2 a11y_checks for Firefox View. r=kcochrane!,#fxview-reviewers,Jamie
Pushed by ayeddi@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c7529a962a8c Temporarily disable some Tier 2 a11y_checks for Firefox View. r=fxview-reviewers,kcochrane
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch
Attachment #9354619 - Attachment description: Bug 1854625 - Temporarily disable some Tier 2 a11y_checks for Firefox View. r=kcochrane!,#fxview-reviewers,Jamie → Bug 1854625 - Temporarily fail-if some Tier 2 a11y_checks for Firefox View. r=kcochrane!,#fxview-reviewers,Jamie
Pushed by ayeddi@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/68e745769848 Temporarily fail-if some Tier 2 a11y_checks for Firefox View. r=fxview-reviewers,kcochrane
Status: REOPENED → RESOLVED
Closed: 1 year ago1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch
See Also: → 1867378
See Also: → 1866598
See Also: → 1872174
See Also: → 1872285
Depends on: 1884278
Depends on: 1879447
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: