ARIA in HTML is updating the datalist element to no longer allow any aria-* attributes.
In reality specifying global aria-* attributes, or attributes which can be used with the implicit listbox role have no actual impact on the element or its child options. Due to this, while there appears to be no negative impact for users to specify ARIA attributes on the element, allowing authors to do so also serves no benefit, and this should be called out to them.
test case
ARIA in HTML is updating the
datalistelement to no longer allow anyaria-*attributes.In reality specifying global
aria-*attributes, or attributes which can be used with the implicitlistboxrole have no actual impact on the element or its child options. Due to this, while there appears to be no negative impact for users to specify ARIA attributes on the element, allowing authors to do so also serves no benefit, and this should be called out to them.test case