From 5b5e821a9664df992b943a67c78cc231b393b6f1 Mon Sep 17 00:00:00 2001 From: Pascal Wengerter Date: Tue, 25 Jun 2024 11:30:10 +0200 Subject: [PATCH] Remove aria-describedby for OcDrop --- changelog/unreleased/enhancement-accessibility-improvements | 2 ++ packages/design-system/src/components/OcDrop/OcDrop.vue | 3 --- .../src/components/OcDrop/__snapshots__/OcDrop.spec.ts.snap | 2 -- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/changelog/unreleased/enhancement-accessibility-improvements b/changelog/unreleased/enhancement-accessibility-improvements index 9946a08a07e..6d5449fdb19 100644 --- a/changelog/unreleased/enhancement-accessibility-improvements +++ b/changelog/unreleased/enhancement-accessibility-improvements @@ -3,4 +3,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/issues/5398 https://github.com/owncloud/web/pull/11087 +https://github.com/owncloud/web/pull/11096 diff --git a/packages/design-system/src/components/OcDrop/OcDrop.vue b/packages/design-system/src/components/OcDrop/OcDrop.vue index 18e454f6eff..dc6193ae070 100644 --- a/packages/design-system/src/components/OcDrop/OcDrop.vue +++ b/packages/design-system/src/components/OcDrop/OcDrop.vue @@ -174,9 +174,6 @@ export default defineComponent({ theme: 'none', maxWidth: 416, offset: this.offset ?? 0, - aria: { - content: 'describedby' - }, ...(!this.isNested && { onShow: (instance: ReferenceElement) => { this.$emit('showDrop') diff --git a/packages/design-system/src/components/OcDrop/__snapshots__/OcDrop.spec.ts.snap b/packages/design-system/src/components/OcDrop/__snapshots__/OcDrop.spec.ts.snap index cad39a56c8e..15f597e1437 100644 --- a/packages/design-system/src/components/OcDrop/__snapshots__/OcDrop.spec.ts.snap +++ b/packages/design-system/src/components/OcDrop/__snapshots__/OcDrop.spec.ts.snap @@ -3,7 +3,6 @@ exports[`OcDrop > tippy > renders tippy 1`] = `

@@ -100,7 +99,6 @@ exports[`OcDrop > tippy > renders tippy 2`] = ` exports[`OcDrop > tippy > renders tippy 3`] = `