From 672cfb631030cac00266b8a12dc878f2fd29a272 Mon Sep 17 00:00:00 2001 From: Pascal Wengerter Date: Mon, 24 Jun 2024 11:10:42 +0200 Subject: [PATCH] Make tippy content iteractive to fix #5387 --- changelog/unreleased/enhancement-accessibility-improvements | 6 ++++++ packages/design-system/src/directives/OcTooltip.ts | 1 + 2 files changed, 7 insertions(+) create mode 100644 changelog/unreleased/enhancement-accessibility-improvements diff --git a/changelog/unreleased/enhancement-accessibility-improvements b/changelog/unreleased/enhancement-accessibility-improvements new file mode 100644 index 00000000000..9946a08a07e --- /dev/null +++ b/changelog/unreleased/enhancement-accessibility-improvements @@ -0,0 +1,6 @@ +Enhancement: Accessibility improvements + +Across the board, we have implemented improvements in regards of accessibility for the web UI. + +https://github.com/owncloud/web/issues/5387 +https://github.com/owncloud/web/pull/11087 diff --git a/packages/design-system/src/directives/OcTooltip.ts b/packages/design-system/src/directives/OcTooltip.ts index 9916ecdac6f..ad29e247269 100644 --- a/packages/design-system/src/directives/OcTooltip.ts +++ b/packages/design-system/src/directives/OcTooltip.ts @@ -61,6 +61,7 @@ const initOrUpdate = (el: HTMLElement & { tooltip: any }, { value = {} }: any) = const props = merge.all([ { ignoreAttributes: true, + interactive: true, aria: { content: null, expanded: false