mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): Improved specificity of ARIA answer (#59799)
Co-authored-by: Ilenia <26656284+ilenia-magoni@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -184,7 +184,7 @@ This attribute is used to hide an element only to keyboard users.
|
||||
|
||||
#### --answer--
|
||||
|
||||
This attribute is used to hide an element from people using assistive technologies.
|
||||
This attribute is used to hide an element from assistive technologies.
|
||||
|
||||
### --question--
|
||||
|
||||
|
||||
+1
-1
@@ -72,7 +72,7 @@ There are six main categories of ARIA roles:
|
||||
<button type="button" id="search-btn">Search</button>
|
||||
```
|
||||
|
||||
- **`aria-hidden` attribute**: Used to hide an element from people using assistive technology such as screen readers. For example, this can be used to hide decorative images that do not provide any meaningful content.
|
||||
- **`aria-hidden` attribute**: Used to hide an element from assistive technologies such as screen readers. For example, this can be used to hide decorative images that do not provide any meaningful content.
|
||||
|
||||
```html
|
||||
<button>
|
||||
|
||||
Reference in New Issue
Block a user