ListBox: Incorrect value for "aria-multiselectable" attribute ( WCAG: 4.1.2 violation) #11743
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
Template for Listbox in
src/app/components/listbox/listbox.ts
incorrectly assigns thearia-multiselectable
attribute a value of the string"multiple"
. This results in an invalid value for the attribute; should only betrue | false
.ListBox
has aboolean
inputmultiple
, so this binding should change:Environment
N/A
Reproducer
No response
Angular version
N/A
PrimeNG version
14.0.0
Build / Runtime
Angular CLI App
Language
ALL
Node version (for AoT issues node --version)
N/A
Browser(s)
No response
Steps to reproduce the behavior
aria-multiselectable
value forul.p-listbox-list
Actual result:
<ul class="p-listbox-list" role="listbox" aria-multiselectable="multiple">
Expected behavior
Expected result(s):
<ul class="p-listbox-list" role="listbox" aria-multiselectable="true | false">
The text was updated successfully, but these errors were encountered: