diff --git a/src/components/NcActionLink/NcActionLink.vue b/src/components/NcActionLink/NcActionLink.vue index c19c12a141..4a12c70f3e 100644 --- a/src/components/NcActionLink/NcActionLink.vue +++ b/src/components/NcActionLink/NcActionLink.vue @@ -53,6 +53,7 @@ export default { :href="href" :aria-label="ariaLabel" :target="target" + :title="title" class="action-link focusable" rel="nofollow noreferrer noopener" @click="onClick"> @@ -133,6 +134,13 @@ export default { return ['_blank', '_self', '_parent', '_top'].indexOf(value) > -1 }, }, + /** + * Declares a native tooltip when not null + */ + title: { + type: String, + default: null, + }, }, } diff --git a/src/components/NcActions/NcActions.vue b/src/components/NcActions/NcActions.vue index 6a709c8d10..66e44b2c90 100644 --- a/src/components/NcActions/NcActions.vue +++ b/src/components/NcActions/NcActions.vue @@ -939,6 +939,7 @@ export default { ], attrs: { 'aria-label': action?.componentOptions?.propsData?.ariaLabel || action?.componentOptions?.children?.[0]?.text, + title: action?.componentOptions?.propsData?.title, }, ref: action?.data?.ref, props: { diff --git a/src/components/NcAppSidebar/NcAppSidebar.vue b/src/components/NcAppSidebar/NcAppSidebar.vue index 7e2ebdd86c..ca6cb8cc94 100644 --- a/src/components/NcAppSidebar/NcAppSidebar.vue +++ b/src/components/NcAppSidebar/NcAppSidebar.vue @@ -195,7 +195,8 @@ include a standard-header like it's used by the files app.