8000 fix #7540 avatar role removal and auto generated aria-label for avatar text by Sulaymon333 · Pull Request #7593 · grommet/grommet · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix #7540 avatar role removal and auto generated aria-label for avatar text #7593

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

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

Conversation

Sulaymon333
Copy link
Collaborator

What does this PR do?

  • fix Avatar role update #7540
  • avatar role removal
  • auto generated aria-label for avatar text using letters/{children} prop passed down
    image

Where should the reviewer start?

What testing has been done on this PR?

How should this be manually tested?

Do Jest tests follow these best practices?

  • screen is used for querying.
  • The correct query is used. (Refer to this list of queries)
  • asFragment() is used for snapshot testing.

Any background context you want to provide?

What are the relevant issues?

Screenshots (if appropriate)

Do the grommet docs need to be updated?

Should this PR be mentioned in the release notes?

Is this change backwards compatible or is it a breaking change?

@Sulaymon333 Sulaymon333 requested a review from jcfilben April 17, 2025 16:36
return (
<Box direction="row" align="center" gap="xsmall" {...rest}>
<Text>{formatMessage({ id: 'pagination.stepLabel', messages })}</Text>
<Select
options={options}
value={step}
a11yTitle={formatMessage({ id: 'pagination.stepLabel', messages })}
Copy link
Collaborator

Choose a reason for hiding this comment

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

looks like some of the files came in from the Pagination PR can we remove and leave those seperate

@@ -15,10 +16,12 @@ const Avatar = ({
justify = 'center',
round = 'full',
size = 'medium',
messages,
Copy link
Collaborator

Choose a reason for hiding this comment

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

we would need to add messages prop to index.d.ts file as well as proptypes in Avatar and Grommet

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.

Avatar role update
2 participants
0