Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

[terra-folder-tree] Fix axe invalid aria attribute and 400% browser zoom #2153

Merged
merged 2 commits into from
May 7, 2024

Conversation

MadanKumarGovindaswamy
Copy link
Contributor

@MadanKumarGovindaswamy MadanKumarGovindaswamy commented May 6, 2024

Summary

What was changed:

Updated aria-control label.
Removed default width for the folder tree example

Why it was changed:

In 400% browser zoom, some of the folders are hiding from the screen. Therefor user don't have access to some folders and they can't be accessed.
Axe issues - Invalid ARIA attribute value: aria-controls="Folder" in the toolbar 'expand all and collapse all' section

Testing

This change was tested using:

  • WDIO
  • Jest
  • Visual testing (please attach a screenshot or recording)
  • Other (please describe below)
  • No tests are needed

Reviews

In addition to engineering reviews, this PR needs:

  • UX review
  • Accessibility review
  • Functional review

Additional Details

This PR resolves:

UXPLATFORM-10399-


Thank you for contributing to Terra.
@cerner/terra

@github-actions github-actions bot temporarily deployed to preview-pr-2153 May 6, 2024 05:15 Destroyed
@MadanKumarGovindaswamy MadanKumarGovindaswamy marked this pull request as ready for review May 6, 2024 06:04
@@ -1,6 +1,5 @@
:local {
.content-wrapper {
position: relative;
width: 300px;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we confirm with consumer if zoom issue occurs with similar wrapper width?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

folder-tree component has 100% of width set, so it adjusts to the screen size. Here the example has fixed size of 300px. so updated this.
Thanks

@sugan2416 sugan2416 merged commit 0fde38c into main May 7, 2024
22 checks passed
@sugan2416 sugan2416 deleted the UXPLATFORM-10399-FlodertreeIssues branch May 7, 2024 04:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants