Skip to content

[Avatar]: attribute accessibleName doesn't seem to have any effect #10461

Open
@gurkirpalgill

Description

Bug Description

When using accesssibleName/accessible-name attribute along with icon attribute in Avatar component it doesn't seem to have any effect on the svg image.
axe-Devtools complaints Ensure <svg> elements with an img, graphics-document or graphics-symbol role have an accessible text

Affected Component

Avatar

Expected Behaviour

When using accessibleName attribute along with icon attribute, aria-label should be propagated to the svg image tag. see attached screenshots.

Image
Image
Image

Isolated Example

No response

Steps to Reproduce

No response

Log Output, Stack Trace or Screenshots

No response

Priority

None

UI5 Web Components Version

2.x

Browser

Chrome, Edge, Firefox, Safari

Operating System

No response

Additional Context

No response

Organization

No response

Declaration

  • I’m not disclosing any internal or sensitive information.

Metadata

Assignees

Labels

TOPIC PbugThis issue is a bug in the code

Type

No type

Projects

  • Status

    In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions