Skip to content

Feed design pattern's example should change aria-busy when there's an error #1282

Open
@zcorpan

Description

@zcorpan

If there is an error in loading of new sections, aria-busy="true" will still be set, leaving the entire feed inaccessible.

Although this example doesn't fetch new content, a real-world example probably would, which makes it more likely for an error to happen (e.g., the user temporarily loses network access).

The code should be resilient to any error, maybe show an error message when an error does happen, and remove the aria-busy attribute.

The design pattern should also discuss this, I think.

I noticed this while writing a new section for aria-busy in #1027.

Originally posted by @zcorpan in #565 (comment)

Metadata

Metadata

Assignees

Labels

Example PageRelated to a page containing an example implementation of a pattern

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions