Skip to content

Does the example in “Hiding Content Has No Effect on Accessible Name or Description Calculation” need clarification? #39

@simevidas

Description

@simevidas

Link to section: https://w3c.github.io/using-aria/#hiding-content-has-no-effect-on-accessible-name-or-description-calculation

The text preceding the first code example says, “the description will be available to assistive technology users in both states.”

It might be worth explicitly stating that this is not desirable, i.e., you don’t want the description to be available in both states. This wasn’t immediately clear to me.

For example, the code could include a comment that says something like,

<!-- 
  IMPROPER CODE:
  CSS display:none does not hide the description from AT in this situation.
--> 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions