Skip to content

Comments

fix(NcAvatar): remove alt attr from span[role=img]#4748

Merged
susnux merged 1 commit intomasterfrom
fix/avatar--remove-alt
Nov 2, 2023
Merged

fix(NcAvatar): remove alt attr from span[role=img]#4748
susnux merged 1 commit intomasterfrom
fix/avatar--remove-alt

Conversation

@ShGKme
Copy link
Contributor

@ShGKme ShGKme commented Nov 2, 2023

☑️ Resolves

Error: Attribute alt not allowed on element span at this point.

Also, there is a description with aria-label.

🖼️ Screenshots

No visual changes

🚧 Tasks

  • Remove "alt" from user status span.

🏁 Checklist

  • ⛑️ Tests are included or are not applicable
  • 📘 Component documentation has been extended, updated or is not applicable

ALT attribute is not valid on span and there is aria-label for labeling.

Signed-off-by: Grigorii K. Shartsev <[email protected]>
@ShGKme ShGKme self-assigned this Nov 2, 2023
@ShGKme ShGKme added bug Something isn't working feature: avatar Related to the avatar component accessibility Making sure we design for the widest range of people possible, including those who have disabilities labels Nov 2, 2023
@ShGKme ShGKme added this to the 8.0.0 milestone Nov 2, 2023
@ShGKme ShGKme requested review from JuliaKirschenheuter, Pytal, susnux and szaimen and removed request for susnux November 2, 2023 11:49
@susnux susnux merged commit f1efe9c into master Nov 2, 2023
@susnux susnux deleted the fix/avatar--remove-alt branch November 2, 2023 12:27
@skjnldsv skjnldsv mentioned this pull request Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accessibility Making sure we design for the widest range of people possible, including those who have disabilities bug Something isn't working feature: avatar Related to the avatar component

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants