Skip to content

Commit

Permalink
Revert "Update inputs.md"
Browse files Browse the repository at this point in the history
This reverts commit ee6614d.
  • Loading branch information
coliff committed May 2, 2023
1 parent ee6614d commit 9bcc6db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions content/components/inputs.md
Original file line number Diff line number Diff line change
Expand Up @@ -652,6 +652,7 @@ Add the `disabled` attribute to a `<fieldset>` to disable all the controls withi
Browsers treat all native form controls (`<input>`, `<select>`, and `<button>` elements) inside a `<fieldset disabled>` as disabled, preventing both keyboard and mouse interactions on them.

However, if your form also includes custom button-like elements such as `<a ... class="btn btn-*">`, these will only be given a style of `pointer-events: none`. The anchor-based controls will also still be focusable and operable using the keyboard. You must manually modify these controls by adding `tabindex="-1"` to prevent them from receiving focus and `aria-disabled="disabled"` to signal their state to assistive technologies.
{{< /callout >}}

### File browser

Expand Down

0 comments on commit 9bcc6db

Please sign in to comment.