Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

improve accessibility to support more/less buttons #596

Merged
merged 2 commits into from
Sep 6, 2023

Conversation

zdeveloper
Copy link
Contributor

@zdeveloper zdeveloper commented Sep 6, 2023

Related Issue or Background Info

Changes Proposed

  • improve accessibility to support more/less buttons
    • added aria-expanded
    • added aria-label

Screenshots / Demos

deployed on dev6

Checklist for Author and Reviewer

Design

  • Any UI/UX changes have a designer as a reviewer, and changes have been approved
  • Any large-scale changes have been deployed to test, dev, or pentest and smoke-tested by both the engineering and design teams

Content

  • Any content changes (including new error messages) have been approved by content team

Support

  • Any changes that might generate new support requests have been flagged to the support team

Testing

  • Includes a summary of what a code reviewer should verify

@zdeveloper zdeveloper marked this pull request as ready for review September 6, 2023 15:30
@@ -197,10 +198,14 @@ <h2>Get in touch</h2>
bodyElement.classList.add('expanded');
animateCSS(link, 'fadeInDown');
footerText.textContent = 'Less';
footerText.setAttribute("aria-label", "see less helpful links")
Copy link
Contributor

@johanna-skylight johanna-skylight Sep 6, 2023

Choose a reason for hiding this comment

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

is there a way to pass the category to this method so it reads 'see more account management related links', 'see more testing related links'.

Also the copy of see less helpful links sounds odd as I thought it was offered to see some not so helpful links LOL.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done! honestly I dont know why we even have the more/less link, we dont have that many links anyway, might as well always show it!

Copy link
Contributor

@johanna-skylight johanna-skylight left a comment

Choose a reason for hiding this comment

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

👍 !

@zdeveloper zdeveloper merged commit bcbe96d into main Sep 6, 2023
7 checks passed
@zdeveloper zdeveloper deleted the zedd/6360-add-aria-expanded branch September 6, 2023 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants