Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Differences between Chrome and Firefox #2028

Open
tombrunet opened this issue Sep 6, 2024 · 2 comments
Open

[BUG]: Differences between Chrome and Firefox #2028

tombrunet opened this issue Sep 6, 2024 · 2 comments
Assignees
Labels
Bug Something isn't working engine Issues in the accessibility-checker-engine component T63

Comments

@tombrunet
Copy link
Member

Project

accessibility-checker-engine

Browser

Firefox

Operating system

MacOS

Description

When building the Java tool, I tried with the Firefox Selenium engine. These testcases don't match the results. It might be because Firefox is auto-fixing some things, but we should at least verify:

"aria_role_redundant_ruleunit", "Fail.html"
"style_focus_visible_ruleunit", "CSS-used.html"
"object_text_exists_ruleunit", "act_fail_3.html"
"aria_attribute_conflict_ruleunit", "aria-hidden.html"
"aria_attribute_valid_ruleunit", "ValidRoleSpecified.html"
"aria_attribute_valid_ruleunit", "ValidAttribute.html"
"aria_attribute_valid_ruleunit", "ValidRoleSpecifiedValidAttribute.html"
"aria_attribute_valid_ruleunit", "InvalidAttribute.html"
"aria_attribute_valid_ruleunit", "InValidRoleInvalidAttribute.html"
"aria_attribute_valid_ruleunit", "InValidRoleSpecified.html"
"aria_attribute_valid_ruleunit", "ValidRoleSpecifiedInvalidAttribute.html"
"aria_attribute_valid_ruleunit", "ValidRoleSpecifiedMultiple.html"
"aria_attribute_valid_ruleunit", "InValidRoleSpecifiedMultiple.html"
"aria_attribute_valid_ruleunit", "area_element_test.html"
"aria_attribute_valid_ruleunit", "elementsWithSupportingAttributes.html"
"aria_role_valid_ruleunit", "area_no_href.html"
"element_scrollable_tabbable_ruleunit", "act_fail2.html"
"element_scrollable_tabbable_ruleunit", "textarea_pass2.html"
"element_scrollable_tabbable_ruleunit", "act_fail1.html"
"fieldset_label_valid_ruleunit", "FieldSet-hasarialabel.html"
"fieldset_label_valid_ruleunit", "FieldSet-nested.html"
"fieldset_label_valid_ruleunit", "test_mixed_1.html"
"a_text_purpose_ruleunit", "A-nonTabable.html"
"a_text_purpose_ruleunit", "A-slot-text-error2.html"
"a_text_purpose_ruleunit", "A-slot-text-error1.html"
"target_spacing_sufficient_ruleunit", "link_in_text.html"
"target_spacing_sufficient_ruleunit", "block_element_inline.html"
"aria_landmark_name_unique_ruleunit", "example_0_fail.html"

Steps to reproduce

Will be easier once the java checker is merged. From the java-accessibility-checker directory, can run:

mvn test -Dtest="AccessibilityCheckerSeleniumFFTest"

Will have to comment out the skip items to see them fail.

@MHoov MHoov added the Bug Something isn't working label Sep 9, 2024
@shunguoy
Copy link
Contributor

shunguoy commented Sep 9, 2024

Chrome and FF with different results: http://127.0.0.1:5500/test/v2/checker/accessibility/rules/aria_role_redundant_ruleunit/Fail.html
potential causes: (1) the browser removes/fixes some attributes; (2) some functions may be different; (3) potential rule issue.

@shunguoy
Copy link
Contributor

shunguoy commented Sep 9, 2024

Investigate the root issues, then open bugs on each finding.

@shunguoy shunguoy added T63 engine Issues in the accessibility-checker-engine component labels Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working engine Issues in the accessibility-checker-engine component T63
Projects
None yet
Development

No branches or pull requests

3 participants