Skip to content

[docs] shouldn't Skeleton's doc adopt same ARIA guidelines as Circular Progress ? #26930

Done

Description

@liitfr
  • I have searched the issues of this repository and believe that this is not a duplicate.

Summary 💡

First of all, I don't know many things about ARIA best practices, so please forgive me if this issue isn't relevant.

I've read following ARIA suggestion in Circular Progress API :

If the progress bar is describing the loading progress of a particular region of a page, you should use aria-describedby to point to the progress bar, and set the aria-busy attribute to true on that region until it has finished loading.

Typically, it looks like the same use case as when one uses Skeletons before displaying desired content.
So, for sake of consistency, shouldn't we add same guideline for Skeleton API doc ?

Thank you for your consideration

Examples 🌈

In depth reflexion can be found here : https://adrianroselli.com/2020/11/more-accessible-skeletons.html

Motivation 🔦

Consistency in documentation to increase accessibility best practices in people's app.

Activity

  1. added
    status: waiting for maintainer
    on Jun 24, 2021
  2. added
    scope: skeleton
    status: waiting for maintainer
    and removed
    status: waiting for maintainer
    on Jun 27, 2021
  3. oliviertassinari commented on Jun 27, 2021

    @oliviertassinari
    Member

    Thanks for opening the issue. We currently display nothing https://mui.com/components/skeleton/#aria however, it does sound like there is work to do.

    From what I understand, the implementation of the component is correct, attributes should be handled userland, the Skeleton being too low level, but we can improve the documentation by doing the a11y correctly:

    1. I have linked this issue to [docs] Add Accessibility section to all component demo pages #20600 (comment), where we track the progress on the a11y of the docs.
    2. Vuetify talks about a similar problem: [Bug Report] Skeleton loaders should not have aria-busy and alert role vuetifyjs/vuetify#10999 (comment)
    3. We can describe the aria-busy trick for the region that is loading.
  4. added
    ready to take
    and removed
    status: waiting for maintainer
    ready to take
    on Jun 27, 2021
  5. added
    ready to take
    on Jul 16, 2021
  6. added
    docs
    on Aug 30, 2021
  7. removed
    ready to take
    on Apr 19, 2026
  8. github-actions commented on Nov 26, 2026

    @github-actions
    Contributor

    This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue.
    Now, if you have additional information related to this issue or things that could help future readers, feel free to leave a comment.


    @liitfr Thanks again for creating this issue! If you have a moment, we would love to hear your thoughts on how we handled it with this short feedback form.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    accessibilitydocsscope: skeleton

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions