Skip to content

Commit 8a5d415

Browse files
authored
Fix typos in two examples (act-rules#2057)
* Fix typos in two examples * Update _rules/aria-required-context-role-ff89c9.md
1 parent eff6d24 commit 8a5d415

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

_rules/aria-required-context-role-ff89c9.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,10 +222,10 @@ This `section` element with an [explicit role][] of `doc-abstract` has a role fr
222222

223223
#### Inapplicable Example 4
224224

225-
There is no element whose role has [required context role][] because the `header` role does not have one.
225+
There is no element whose role has [required context role][] because the `heading` role does not have one.
226226

227227
```html
228-
<div role="header" aria-level="1">Hello!</div>
228+
<div role="heading" aria-level="1">Hello!</div>
229229
<p>Welcome to my homepage!</p>
230230
```
231231

_rules/text-contrast-afw4f7.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ This text not part of a [text node][].
346346

347347
```html
348348
<p>
349-
<img scr="/test-assets/contrast/example.png" alt="example" />
349+
<img src="/test-assets/contrast/example.png" alt="example" />
350350
</p>
351351
```
352352

0 commit comments

Comments
 (0)