WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: what does a default value for aria-level mean if it's required?

for

From: glen walker
Date: Jan 21, 2020 4:28PM


I get why AT might have a default value. My question was more about the
spec itself. If an attribute is required and can have a default value,
that sort of implies that I don't have to specify a value but I do have to
have the attribute name. But that doesn't work. aria-level is not a
boolean attribute. It must have a value and the value must be an integer.
There's no way to get a default value. So my question is mainly with
regards to the spec and why it says it has a default value.