Closed GomezIvann closed 8 months ago
Currently, accessibility tests are not passing due to the same reason they weren't initally passing for Header
and Footer
, in this case the nav
tag is being repeated in the same page.
We should create a disabledRules.js
file inside lib/test/accessibility/specific/breadcrumbs similar to the one existing in the header but with only the "landmark-unique"
rule as exception.
It should be added to both the Story file and the Breadcrumbs.accessibility.test that should be created before merging this PR.
Checklist
/lib
directory./website
as needed.Description The breadcrumbs component represents a list of links showing the location of the current page in the navigational hierarchy.
Requirements To be able to implement this component, some extra requirements were needed:
@types/jest
library was added so we can start to name test files with the extension.tsx
, which is more correct.Design UXPin Preview
Screenshot
Closes #1488