-
Notifications
You must be signed in to change notification settings - Fork 138
Description
Currently aria-readonly is a supported property for the slider in ARIA. The HTML spec for the range element does not accept the readony property. Browsers don't support the readonly attribute on the ARIA slider and I suspect that's a result of the HTML spec specifically saying readonly 'must not be specified' on range. In this case ARIA is correct in my view in that slider should have a readonly property. Otherwise, in cases where we need to present the value of the slider without allowing an update to it, we need to use some other role to represent it and that's confusing. If something is a slider then it should be a slider whether I can update it or not. The disabled attribute is supported but disabled means that the element is of no use - disabled elements are effectively a decorative element left on the page so as not to cause layout issues.