From 3626302d327e30a1b708ebc09362be7ec06a2262 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jose=CC=81=20Rio?= Date: Thu, 17 Jul 2025 11:19:47 +0100 Subject: [PATCH] fix(picker-column-option): changed structure in order to remove tabindex="-1" This is needed in order to prevent A11Y issues, in order to prevent to be possible to navigate through each option item through tab navigation, structure must change into this. --- .../components/picker-column-option/picker-column-option.scss | 4 ++-- .../components/picker-column-option/picker-column-option.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/src/components/picker-column-option/picker-column-option.scss b/core/src/components/picker-column-option/picker-column-option.scss index 6e1533aaf7..4f109981ea 100644 --- a/core/src/components/picker-column-option/picker-column-option.scss +++ b/core/src/components/picker-column-option/picker-column-option.scss @@ -3,7 +3,7 @@ // Picker Column // -------------------------------------------------- -button { +.picker-column-option-button { @include padding(0); @include margin(0); @@ -40,6 +40,6 @@ button { opacity: 0.4; } -:host(.option-disabled) button { +:host(.option-disabled) .picker-column-option-button { cursor: default; } diff --git a/core/src/components/picker-column-option/picker-column-option.tsx b/core/src/components/picker-column-option/picker-column-option.tsx index 0afcad24db..1f32a7bdf0 100644 --- a/core/src/components/picker-column-option/picker-column-option.tsx +++ b/core/src/components/picker-column-option/picker-column-option.tsx @@ -129,9 +129,9 @@ export class PickerColumnOption implements ComponentInterface { ['option-disabled']: disabled, })} > - + ); }