dxc-technology / halstack-react

Library of components for building SPAs with React and Halstack Design System
https://developer.dxc.com/halstack/
Apache License 2.0
15 stars 14 forks source link

New Breadcrumbs component #1828

Closed GomezIvann closed 8 months ago

GomezIvann commented 9 months ago

Checklist

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:

Design UXPin Preview

Screenshot

image

image

Closes #1488

Mil4n0r commented 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.