Skip to content

Commit 4797dc1

Browse files
committed
* move emojis to end
1 parent d0ea20f commit 4797dc1

File tree

7 files changed

+14
-14
lines changed

7 files changed

+14
-14
lines changed

docs/rules/accessibility/avoid-both-disabled-and-aria-disabled.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ HTML elements with `disabled` are ignored when a screen reader uses tab navigati
1010
This linter will raise when both `aria-disabled` and `disabled` are set on HTML elements that natively support `disabled` including `button`, `fieldset`, `input`, `optgroup`, `option`, `select`, and `textarea`.
1111

1212
## Examples
13-
### 👎 Examples of **incorrect** code for this rule:
13+
### **Incorrect** code for this rule 👎
1414

1515
```erb
1616
<button aria-disabled="true" disabled="true">
1717
<input aria-disabled="true" disabled="true">
1818
```
1919

20-
### 👍 Examples of **correct** code for this rule:
20+
### **Correct** code for this rule 👍
2121

2222
```erb
2323
<button disabled="true">

docs/rules/accessibility/iframe-has-title.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
`<iframe>` should have a unique title attribute that identifies the content. The title will help screen reader users determine whether to explore the frame in detail. If an `<iframe>` contains no meaningful content, hide it by setting `aria-hidden="true"`.
66

77
## Examples
8-
### 👎 Examples of **incorrect** code for this rule:
8+
### **Incorrect** code for this rule 👎
99

1010
```erb
1111
<iframe src="../welcome-video"></iframe>
1212
```
1313

14-
### 👍 Examples of **correct** code for this rule:
14+
### **Correct** code for this rule 👍
1515

1616
```erb
1717
<!-- good -->

docs/rules/accessibility/image-has-alt.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
- [Primer: Alternative text for images](https://primer.style/design/accessibility/alternative-text-for-images)
1111

1212
## Examples
13-
### 👎 Examples of **incorrect** code for this rule:
13+
### **Incorrect** code for this rule 👎
1414

1515
```erb
1616
<img src="logo.png">
1717
```
1818

19-
### 👍 Examples of **correct** code for this rule:
19+
### **Correct** code for this rule 👍
2020

2121
```erb
2222
<!-- good -->

docs/rules/accessibility/no-aria-label-misuse-counter.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ See [Primer: Tooltip alternatives](https://primer.style/design/accessibility/too
2020

2121
There are conflicting resources and opinions on what elements should support these naming attributes. For now, this rule will operate under a relatively simple heuristic aimed to minimize false positives. This may have room for future improvements. Learn more at [W3C Name Calcluation](https://w3c.github.io/aria/#namecalculation).
2222

23-
### 👎 Examples of **incorrect** code for this rule:
23+
### **Incorrect** code for this rule 👎
2424

2525
```erb
2626
<span class="tooltipped" aria-label="This is a tooltip">I am some text.</span>
@@ -38,7 +38,7 @@ There are conflicting resources and opinions on what elements should support the
3838
<h1 aria-label="This will override the page title completely">Page title</h1>
3939
```
4040

41-
### 👍 Examples of **correct** code for this rule:
41+
### **Correct** code for this rule 👍
4242

4343
```erb
4444
<button aria-label="Close">

docs/rules/accessibility/no-positive-tab-index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ Learn more at:
1010
- [Deque: Avoid using Tabindex with positive numbers](https://dequeuniversity.com/tips/tabindex-positive-numbers)
1111

1212
## Examples
13-
### 👎 Examples of **incorrect** code for this rule:
13+
### **Incorrect** code for this rule 👎
1414

1515
```erb
1616
<button tabindex="3"></button>
1717
<button tabindex="1"></button>
1818
```
1919

20-
### 👍 Examples of **correct** code for this rule:
20+
### **Correct** code for this rule 👍
2121

2222
```erb
2323
<!-- good -->

docs/rules/accessibility/no-redundant-image-alt.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ For example, this rule will not flag terms including `screenshot`, `painting`, o
1313
- [Primer: Alternative text for images](https://primer.style/design/accessibility/alternative-text-for-images)
1414

1515
## Examples
16-
### 👎 Examples of **incorrect** code for this rule:
16+
### **Incorrect** code for this rule 👎
1717

1818
```erb
1919
<img alt="picture of Mona Lisa" src="monalisa.png">
@@ -24,7 +24,7 @@ For example, this rule will not flag terms including `screenshot`, `painting`, o
2424
<img alt="image of a fluffy dog" src="monalisa.png">
2525
```
2626

27-
### 👍 Examples of **correct** code for this rule:
27+
### **Correct** code for this rule 👍
2828

2929
```erb
3030
<!-- good -->

docs/rules/accessibility/no-title-attribute-counter.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Use a `<title>` element instead of the `title` attribute, or an `aria-label`.
1818
- [The Trials and Tribulations of the Title Attribute](https://www.24a11y.com/2017/the-trials-and-tribulations-of-the-title-attribute/)
1919

2020
## Examples
21-
### 👎 Examples of **incorrect** code for this rule:
21+
### **Incorrect** code for this rule 👎
2222

2323
```erb
2424
<a title="A home for all developers" href="github.com">GitHub</a>
@@ -28,7 +28,7 @@ Use a `<title>` element instead of the `title` attribute, or an `aria-label`.
2828
<a href="/" title="github.com">GitHub</a>
2929
```
3030

31-
### 👍 Examples of **correct** code for this rule:
31+
### **Correct** code for this rule 👍
3232

3333
```erb
3434
<a href="github.com" aria-describedby="description">GitHub</a>

0 commit comments

Comments
 (0)