Skip to content

Conversation

@danxuliu
Copy link
Member

The default aria label for actions is Actions, but the default value is overriden to an empty string when used in a list item, so it needs to be explicitly set.

Fixes the console warning You need to fill either the text or the ariaLabel props in the button component. referred to the actions buttons. I have done it in Talk rather than in Nextcloud vue as having an empty aria label for list items seems to be an explicit decision, probably because the text would need to change depending on the list item context (Conversation actions, Mail actions and so on).

I have noticed that the same aria label is used in the top bar. I guess that it is not a problem if they are not unique, but I do not know.

The default aria label for actions is "Actions", but the default value
is overriden to an empty string when used in a list item, so it needs to
be explicitly set.

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
@nickvergessen
Copy link
Member

I don't see the warning on my dev instance

@marcoambrosini marcoambrosini merged commit fba614f into master Aug 15, 2022
@marcoambrosini marcoambrosini deleted the add-missing-aria-label-to-buttons-to-show-conversation-actions branch August 15, 2022 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants