From f4b799628ad7b4de12fc4687d7bf1f3e1b49c095 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mehmet=20=C3=87etin?= <92744169+mehmetcetin01140@users.noreply.github.com> Date: Wed, 22 May 2024 11:46:09 +0300 Subject: [PATCH] Fixed #15278 - SelectButton | accessibility issue: ARIA attribute is not allowed: aria-pressed=true --- src/app/components/selectbutton/selectbutton.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/app/components/selectbutton/selectbutton.ts b/src/app/components/selectbutton/selectbutton.ts index 1b966bbcbda..76a3488ac06 100755 --- a/src/app/components/selectbutton/selectbutton.ts +++ b/src/app/components/selectbutton/selectbutton.ts @@ -32,7 +32,6 @@ export const SELECTBUTTON_VALUE_ACCESSOR: any = { class="p-button p-component" [class]="option.styleClass" [ngClass]="{ 'p-highlight': isSelected(option), 'p-disabled': disabled || isOptionDisabled(option), 'p-button-icon-only': option.icon && !getOptionLabel(option) }" - [attr.aria-pressed]="isSelected(option)" (click)="onOptionSelect($event, option, i)" (keydown)="onKeyDown($event, option, i)" [attr.title]="option.title"