Skip to content

Commit

Permalink
Fixed primefaces#15278 - SelectButton | accessibility issue: ARIA att…
Browse files Browse the repository at this point in the history
…ribute is not allowed: aria-pressed=true
  • Loading branch information
mehmetcetin01140 committed May 22, 2024
1 parent 3d5b78e commit f4b7996
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/app/components/selectbutton/selectbutton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit f4b7996

Please sign in to comment.