`<Avatar>` dimensions and screen reader text by abovedave · Pull Request #2206 · StackExchange/Stacks

@abovedave

@changeset-bot

@netlify

@netlify

@abovedave

Add nested img dimensions and screen reader text for private badge.

giamir

Choose a reason for hiding this comment

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

@abovedave We should update the related unit tests to account for the changes you made. I also would not want to hardcode the word "Private" in the component. We use the i18nxxx prop pattern to allow consumers to override default values. Apart from that looks good. Thanks for the PR. ❤️

@abovedave

@abovedave

@dancormier

dancormier

Choose a reason for hiding this comment

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

@abovedave this PR looks good! I added a few tests for these changes and I think it should be all good to merge