aria-haspopup needs to spec default of false "if the attribute is not present" #1209
Labels
clarification
clarifying or correcting language that is either confusing, misleading or under-specified
Milestone
The definition of aria-haspopup needs to clearly state that the default value is false if no value is given.
It currently mentions empty string, but I think it needs to also say something like "if the attribute is not present":
https://w3c.github.io/aria/#aria-haspopup
For comparison, the definitions of aria-current and aria-invalid (which are also enumerated types) say:
https://w3c.github.io/aria/#aria-current
https://w3c.github.io/aria/#aria-invalid
It might be useful to make these paragraphs more consistent with one another.
Do we need to say "an empty string or undefined" (aria-current says this, but not the other 2).
Do we need to say "MUST NOT be exposed by user agents" (like aria-current)?
The last sentence in aria-invalid doesn't say "user agents MUST"... should it? It just says:
Does it make any sense to use the word null instead of "if the attribute is not present"?
DOM spec says:
The text was updated successfully, but these errors were encountered: