Skip to content

Avatar component has a redundant role "img" on <img> #5044

@rvetrsek

Description

@rvetrsek

I found that for the Avatar component, either used in a button or by itself, HTML validation returns an error: Redundant role "img" on

The role should probably be omitted for img tags:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingp3-lowMinor cosmetic, edge case, or documentation issuev4#4488

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions