Skip to content

Commit 7999fa3

Browse files
Update index.md
1 parent c06263f commit 7999fa3

1 file changed

Lines changed: 8 additions & 9 deletions

File tree

  • docs/getting-started/accessibility-patterns-index

docs/getting-started/accessibility-patterns-index/index.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,18 @@ Begin with semantic HTML to establish meaning, implement the user-facing functio
1717

1818
#### Examples
1919

20-
<details><summary>Example: Form Input with Error Messaging</summary>
20+
??? Info "Example: Form Input with Error Messaging"
2121

22-
A user enters information into a form field and receives feedback if there is an error.
22+
A user enters information into a form field and receives feedback if there is an error.
2323

24-
- **Structural Element**
25-
Use semantic HTML such as `<label>` and `<input>` to define the form field and its relationship.
24+
- **Structural Element**
25+
Use semantic HTML such as `<label>` and `<input>` to define the form field and its relationship.
2626

27-
- **Feature**
28-
Provide input validation and clear error messaging so users understand what is required and how to fix issues.
27+
- **Feature**
28+
Provide input validation and clear error messaging so users understand what is required and how to fix issues.
2929

30-
- **ARIA**
31-
Use ARIA (e.g., `aria-describedby`, `aria-live`) only when needed to associate instructions or announce dynamic error messages.
32-
</details>
30+
- **ARIA**
31+
Use ARIA (e.g., `aria-describedby`, `aria-live`) only when needed to associate instructions or announce dynamic error messages.
3332

3433

3534
<details><summary>Example: Expand/Collapse Section (Accordion)</summary>

0 commit comments

Comments
 (0)