Closed Bug 1854538 Opened 8 months ago Closed 7 months ago

Temporarily disable some Tier 2 a11y_checks for UI Widgets

Categories

(Toolkit :: General, task, P3)

task

Tracking

()

RESOLVED FIXED
120 Branch
Tracking Status
firefox120 --- fixed

People

(Reporter: ayeddi, Assigned: ayeddi)

References

(Blocks 1 open bug)

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	toolkit/content/tests/browser/browser_about_networking.js	Node is not accessible via accessibility API	category-dns	DIV	category category-no-icon
FAIL	toolkit/content/tests/browser/browser_autoscroll_disabled_on_editable_content.js	Node is not accessible via accessibility API		browser	
FAIL	toolkit/content/tests/browser/browser_autoscroll_disabled_on_editable_content.js	Node is not accessible via accessibility API		browser	
FAIL	toolkit/content/tests/browser/browser_autoscroll_disabled_on_links.js	Node is not accessible via accessibility API		browser	
FAIL	toolkit/content/tests/browser/browser_autoscroll_disabled_on_links.js	Node is not accessible via accessibility API		browser	
FAIL	toolkit/content/tests/browser/browser_cancel_starting_autoscrolling_requested_by_background_tab.js	Node is not accessible via accessibility API	tabbrowser-tabpanels	tabpanels	
FAIL	toolkit/content/tests/browser/browser_click_event_during_autoscrolling.js	Node is not accessible via accessibility API		browser	
FAIL	toolkit/content/tests/browser/browser_click_event_during_autoscrolling.js	Node is not accessible via accessibility API		browser	
FAIL	toolkit/content/tests/browser/browser_click_event_during_autoscrolling.js	Node is not accessible via accessibility API		browser	
FAIL	toolkit/content/tests/browser/browser_click_event_during_autoscrolling.js	Node is not accessible via accessibility API		browser	
FAIL	toolkit/content/tests/browser/browser_label_textlink.js	Node is not focusable via the accessibility API	textlink-test	label	text-link
FAIL	toolkit/content/tests/browser/browser_label_textlink.js	Node is not focusable via the accessibility API	textlink-test	label	text-link
FAIL	toolkit/content/tests/browser/browser_label_textlink.js	Node is not focusable via the accessibility API	textlink-test	label	text-link
FAIL	toolkit/content/tests/browser/browser_starting_autoscroll_in_about_content.js	Node is not accessible via accessibility API		body	wide-container
FAIL	toolkit/content/tests/browser/datetime/browser_datetime_datepicker_min_max.js	Node is not accessible via accessibility API		td	
FAIL	toolkit/content/tests/browser/datetime/browser_datetime_datepicker_mousenav.js	Node is not accessible via accessibility API		td	weekend outside
FAIL	toolkit/content/tests/browser/datetime/browser_datetime_datepicker.js	Node is not accessible via accessibility API		td	outside
FAIL	toolkit/content/tests/browser/datetime/browser_datetime_toplevel.js	Node is not accessible via accessibility API		input	

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: 1854539

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, component-specific meta bug 1854539
  • Explore capturing click events for a11y_checks: bug 1692110

Depends on D188926

Attachment #9354488 - Attachment description: WIP: Bug 1854538 - Temporarily disable some Tier 2 a11y_checks for UI Widgets. r=mconley,kcochrane,Jamie → Bug 1854538 - Temporarily disable some Tier 2 a11y_checks for UI Widgets. r=mconley,kcochrane,Jamie
Attachment #9354488 - Attachment description: Bug 1854538 - Temporarily disable some Tier 2 a11y_checks for UI Widgets. r=mconley,kcochrane,Jamie → Bug 1854538 - Temporarily disable some Tier 2 a11y_checks for UI Widgets. r=mconley,Jamie
Attachment #9354488 - Attachment description: Bug 1854538 - Temporarily disable some Tier 2 a11y_checks for UI Widgets. r=mconley,Jamie → Bug 1854538 - Temporarily disable some Tier 2 a11y_checks for UI Widgets. r=mconley,kcochrane,Jamie
Attachment #9354488 - Attachment description: Bug 1854538 - Temporarily disable some Tier 2 a11y_checks for UI Widgets. r=mconley,kcochrane,Jamie → Bug 1854538 - Temporarily disable some Tier 2 a11y_checks for UI Widgets. r=mconley,Jamie
Pushed by ayeddi@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/791f9b03ea96
Temporarily disable some Tier 2 a11y_checks for UI Widgets. r=mconley
Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch
Attachment #9354488 - Attachment description: Bug 1854538 - Temporarily disable some Tier 2 a11y_checks for UI Widgets. r=mconley,Jamie → Bug 1854538 - Temporarily fail-if some Tier 2 a11y_checks for UI Widgets. r=mconley,Jamie
Pushed by ayeddi@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/faba368d5da8
Temporarily fail-if some Tier 2 a11y_checks for UI Widgets. r=mconley
Status: REOPENED → RESOLVED
Closed: 7 months ago7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch
Flags: needinfo?(ayeddi)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: