E-mail List Archives
what does a default value for aria-level mean if it's required?
From: glen walker
Date: Jan 20, 2020 5:35PM
- Next message: Birkir R. Gunnarsson: "Re: what does a default value for aria-level mean if it's required?"
- Previous message: glen walker: "Re: Vertical text"
- Next message in Thread: Birkir R. Gunnarsson: "Re: what does a default value for aria-level mean if it's required?"
- Previous message in Thread: None
- View all messages in this Thread
The spec for role="heading" (https://www.w3.org/TR/wai-aria/#heading) says:
*Required States and Properties: *aria-level
*Implicit Value for Role: *Default for aria-level is 2.
Is aria-level really required? The Nu Html Checker (
https://validator.w3.org/nu/) does not complain if I don't have an
aria-level.
<div role="heading">
If aria-level **is* *required for role="heading", how can you have a
default value? The validator complains if I have an empty value
<div role="heading" aria-level>
I'm not following how an implicit value of 2 is used for aria-level if
aria-level is required and needs a value.
- Next message: Birkir R. Gunnarsson: "Re: what does a default value for aria-level mean if it's required?"
- Previous message: glen walker: "Re: Vertical text"
- Next message in Thread: Birkir R. Gunnarsson: "Re: what does a default value for aria-level mean if it's required?"
- Previous message in Thread: None
- View all messages in this Thread