Accessibility-insights-web: Landmark best practice rules should not be flagged as failures

Created on 19 Mar 2019  路  2Comments  路  Source: microsoft/accessibility-insights-web

Describe the bug

This four rules should be best practice and not flagged in automated checks

  • unique-landmark
  • landmark-complementary-is-top-level
  • landmark-banner-is-top-level
  • landmark-contentinfo-is-top-level
  • landmark-main-is-top-level
  • landmark-no-duplicate-banner
  • landmark-no-duplicate-contentinfo

To Reproduce
Steps to reproduce the behavior:

  1. run automated checks in this page: https://webaim.org/intro/
    unique-landmark rule is marked as failed

Expected behavior

unique-landmark rule does not fail

Extension (please complete the following information)

Are you willing to submit a PR?

No

If asked, will you be willing to submit a PR to fix this bug?
No

Did you search for similar existing issues?

Yes

Did you search for similar issues in our github issues or on stackoverflow
Yes

Additional context

Reported in Twitter: https://twitter.com/jared_w_smith/status/1107791754206441472

bug

Most helpful comment

The fix to omit the rules as best practices is straightforward (add BestPractice to the corresponding link configurations in rule-to-link-mappings.ts), but doing so revealed an issue where old assessments in progress with state for rules that were removed cause DetailsView to crash on load, so that will need to also be resolved as part of this fix.

All 2 comments

The fix to omit the rules as best practices is straightforward (add BestPractice to the corresponding link configurations in rule-to-link-mappings.ts), but doing so revealed an issue where old assessments in progress with state for rules that were removed cause DetailsView to crash on load, so that will need to also be resolved as part of this fix.

There are two more affected rules to fix, so re-opening/editting description

  • landmark-no-duplicate-banner
  • landmark-no-duplicate-contentinfo
Was this page helpful?
0 / 5 - 0 ratings

Related issues

vikasgupta18 picture vikasgupta18  路  4Comments

ferBonnin picture ferBonnin  路  10Comments

cglong picture cglong  路  4Comments

pshrmn picture pshrmn  路  5Comments

LiLoDavis picture LiLoDavis  路  3Comments