-
Notifications
You must be signed in to change notification settings - Fork 279
feat(ui5-avatar): add mode property #13004
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
base: main
Are you sure you want to change the base?
Conversation
Avatar component now supports 'mode' property with 'Default' and 'Decorative' options. It allows to render the avatar in decorative mode, which is non-interactive and hidden from assistive technologies.
|
🚀 Deployed on https://pr-13004--ui5-webcomponents-preview.netlify.app |
- new 'mode' property with 'Interactive' value - added since tags - updated samples and documentation - fixed related tests
|
as 2.19 is released - the since info should be updated to 2.20 |
yanaminkova
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently, when mode="Interactive" is set, the avatar does not appear interactive because the corresponding CSS styles are not applied.
Also, until the interactive property is deprecated in version 3.0, its current behavior must remain unchanged. Currently, when the interactive property is used, the avatar only appears visually interactive, but it is internally rendered with role="img".
9116c5c to
40c41ac
Compare
Avatar component now supports 'mode' property with 'Default' and 'Decorative' options.
It allows to render the avatar in decorative mode, which is non-interactive and hidden from assistive technologies.