From eb317cf3bde5b4ae6498657b2cf48ba953779d92 Mon Sep 17 00:00:00 2001 From: Jannik Stehle Date: Wed, 6 Sep 2023 17:49:31 +0200 Subject: [PATCH 1/2] fix: tiles view tab navigation (a11y) --- changelog/unreleased/bugfix-tiles-view-accessibility | 6 ++++++ .../design-system/src/components/OcCheckbox/OcCheckbox.vue | 5 +++++ packages/design-system/src/components/OcTile/OcTile.vue | 1 + 3 files changed, 12 insertions(+) create mode 100644 changelog/unreleased/bugfix-tiles-view-accessibility diff --git a/changelog/unreleased/bugfix-tiles-view-accessibility b/changelog/unreleased/bugfix-tiles-view-accessibility new file mode 100644 index 00000000000..31a86cc0c9b --- /dev/null +++ b/changelog/unreleased/bugfix-tiles-view-accessibility @@ -0,0 +1,6 @@ +Bugfix: Tiles view accessibility + +Navigating via tab and enter in the tiles view has been fixed. + +https://github.com/owncloud/web/pull/9670 +https://github.com/owncloud/web/issues/9633 diff --git a/packages/design-system/src/components/OcCheckbox/OcCheckbox.vue b/packages/design-system/src/components/OcCheckbox/OcCheckbox.vue index 4affe6029e3..1f76488b8d4 100644 --- a/packages/design-system/src/components/OcCheckbox/OcCheckbox.vue +++ b/packages/design-system/src/components/OcCheckbox/OcCheckbox.vue @@ -8,6 +8,7 @@ :class="classes" :value="option" :disabled="disabled" + @keydown.enter="$emit('click', $event)" />