Skip to content

Adding role="presentation" when alt="" is redundant #803

@dbismut

Description

@dbismut

All is in the title, I would suggest adding role="presentation" when alt is nullish and not pass alt as a prop if that's the case. Or force alt to be "" when nullish and not add role="presentation".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions