-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(feature-section-card-link): remove incorrect role (#8197)
### Related Ticket(s) Resolves #8010 ### Description The `DDSLinkList` and `DDSFeatureSectionCardLink` components had incorrect `role` attributes, which caused a number of a11y errors to be reported when running the `yarn lint:a11y` script. Fixing the roles on these two components resolves any errors related to incorrect usages of "listitem" roles. ### Changelog **Changed** - Added `role="list"` to `DDSLinkList` component - Removed `role="listitem"` from `DDSFeatureSectionCardLink` component <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) -->
- Loading branch information
Showing
3 changed files
with
13 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters