From ffda68073853242cab0e0e47ba7adcda6196a92f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81rp=C3=A1d=20Illy=C3=A9s?= <13800404+arpi17@users.noreply.github.com> Date: Tue, 19 Nov 2024 11:41:18 +0100 Subject: [PATCH] fix(Select): Set `aria-invalid` attribute in non-editable mode as well --- packages/primevue/src/select/Select.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/primevue/src/select/Select.vue b/packages/primevue/src/select/Select.vue index 1693e35cf2..495edfc5af 100755 --- a/packages/primevue/src/select/Select.vue +++ b/packages/primevue/src/select/Select.vue @@ -40,6 +40,7 @@ :aria-expanded="overlayVisible" :aria-controls="id + '_list'" :aria-activedescendant="focused ? focusedOptionId : undefined" + :aria-invalid="invalid || undefined" :aria-disabled="disabled" @focus="onFocus" @blur="onBlur"