Skip to content

Commit

Permalink
Merge pull request #2981 from nextcloud/fix/noid/single-action-aria-l…
Browse files Browse the repository at this point in the history
…abel
  • Loading branch information
skjnldsv authored Aug 9, 2022
2 parents d5b436e + 3fc8e23 commit 5a0f7f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Actions/Actions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ export default {
firstAction?.data?.class,
],
attrs: {
'aria-label': firstAction?.componentOptions?.propsData?.ariaLabel,
'aria-label': firstAction?.componentOptions?.propsData?.ariaLabel || firstAction?.componentOptions?.children?.[0]?.text,
},
props: {
// If it has a title, we use a secondary button
Expand Down

0 comments on commit 5a0f7f9

Please sign in to comment.