Skip to content

ExpandableSection - toggle text should be more descriptive in examples #11394

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
thatblindgeye opened this issue Jan 9, 2025 · 2 comments · Fixed by #11737
Closed

ExpandableSection - toggle text should be more descriptive in examples #11394

thatblindgeye opened this issue Jan 9, 2025 · 2 comments · Fixed by #11737

Comments

@thatblindgeye
Copy link
Contributor

Describe the enhancement or change
To follow the verbiage from design guidelines ("Informs the user what will be shown when the component is expanded") and to also recommend doing so when there may be multiple toggles on a page, the toggle text should be more descriptive and unique in examples. So instead of "Show more", "Show more basic example content" for the basic example and so on.

This will also provide more unique labeling to the expandable section content, which if there are multiple sections expanded on a page and each toggle just has "Show more", then each region will be labeled as just "Show more".

Is this request originating from a Red Hat product team? If so, which ones and is there any sort of deadline for this enhancement?

Any other information?

@Mash707
Copy link
Contributor

Mash707 commented Mar 16, 2025

Hi @thatblindgeye I would like to work on this issue. Apart from improving the "Show more" text, should we also include aria-labels for each example?

@thatblindgeye
Copy link
Contributor Author

@Mash707 there shouldn't be a need to include aria-label, though if you spot an example that you feel needs it definitely let me know

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants