Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify when aria-busy and busy are added automatically #185

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion _source/reference/attributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@ The following attributes are automatically added by Turbo and are useful to dete
* `disabled` is added to the form submitter while the form request is in progress, to prevent repeat submissions.
* `data-turbo-preview` is added to the `html` element when displaying a [preview](/handbook/building#detecting-when-a-preview-is-visible) during a Visit.
* `data-turbo-visit-direction` is added to the `html` element during a visit, with a value of `forward` or `back` or `none`, to indicate its direction.
* `aria-busy` is added to `html` and `turbo-frame` elements when a navigation is in progress.
* `aria-busy` is added to:
* the `html` element when a visit is in progress
* the `form` element when a submission is in progress.
* the `turbo-frame` element when a visit or form submission is in progress within the frame.
* `busy` is added to the `turbo-frame` element when a navigation or form submission is in progress within the frame.

## Meta Tags

Expand Down