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

[MA-30]: MM-61604: Provide proper name, role, and state information to skin tone accordion #26

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

SaurabhSharma-884
Copy link

Summary

There are accordions without appropriate state information like Skin tone button. This PR adds appropriate role, state information to it.

Steps to reproduce

  • Navigate to the Skin tone button.
  • Inspect its element with Chrome DevTools.
  • Review its nesting structure.
  • In the Accessibility tab, expand the Computed Properties section.
  • Review the values for and "Expanded".

Ticket Link

Fixes: https://mattermost.atlassian.net/browse/MM-61604

Screenshots

Screenshot from 2024-12-18 12-08-35
image

Release Note


<div className={classNames('skin-tones__content', {'skin-tones__content__single': !this.state.pickerExtended})}>
{this.state.pickerExtended ? this.extended() : this.collapsed()}
<div
id='skin-tones-content'
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this id still needed?

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