Skip to content

Commit 30eac65

Browse files
committed
docs: update content
1 parent 99ddbbc commit 30eac65

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

packages/docs/components/widgets.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -966,7 +966,7 @@ description:
966966
<template #icon><CIcon icon="cib-coreui-c" height="52" class="my-4 text-white" /></template>
967967
<template #chart>
968968
<CChart
969-
className="position-absolute w-100 h-100"
969+
class="position-absolute w-100 h-100"
970970
type="line"
971971
:data="{
972972
labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'],

packages/docs/forms/textarea.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,14 @@ Add the `disabled` boolean attribute on an input to give it a grayed out appeara
4848

4949
::: demo
5050
<CFormTextarea
51-
className="mb-3"
51+
class="mb-3"
5252
placeholder="Disabled textarea"
5353
aria-label="Disabled textarea example"
5454
disabled></CFormTextarea>
5555
:::
5656
```vue
5757
<CFormTextarea
58-
className="mb-3"
58+
class="mb-3"
5959
placeholder="Disabled textarea"
6060
aria-label="Disabled textarea example"
6161
disabled>

packages/docs/forms/validation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ Validation styles are available for the following form controls and components:
549549
required
550550
/>
551551
<CFormCheck
552-
className="mb-3"
552+
class="mb-3"
553553
type="radio"
554554
name="radio-stacked"
555555
id="validationFormCheck3"
@@ -611,7 +611,7 @@ Validation styles are available for the following form controls and components:
611611
required
612612
/>
613613
<CFormCheck
614-
className="mb-3"
614+
class="mb-3"
615615
type="radio"
616616
name="radio-stacked"
617617
id="validationFormCheck3"

packages/docs/getting-started/accessibility.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,16 @@ Some combinations of colors that currently make up CoreUI for Vue default palett
2929
Content which should be visually hidden, but remain accessible to assistive technologies such as screen readers, can be styled using the `.visually-hidden` class. This can be useful in situations where additional visual information or cues (such as meaning denoted through the use of color) need to also be conveyed to non-visual users.
3030

3131
```html
32-
<p className="text-danger">
33-
<span className="visually-hidden">Danger: </span>
32+
<p class="text-danger">
33+
<span class="visually-hidden">Danger: </span>
3434
This action is not reversible
3535
</p>
3636
```
3737

3838
For visually hidden interactive controls, such as traditional "skip" links, use the `.visually-hidden-focusable` class. This will ensure that the control becomes visible once focused (for sighted keyboard users). **Watch out, compared to the equivalent `.sr-only` and `.sr-only-focusable` classes in past versions, CoreUI's `.visually-hidden-focusable` is a standalone class, and must not be used in combination with the `.visually-hidden` class.**
3939

4040
```html
41-
<a className="visually-hidden-focusable" href="#content">Skip to main content</a>
41+
<a class="visually-hidden-focusable" href="#content">Skip to main content</a>
4242
```
4343

4444
### Reduced motion

0 commit comments

Comments
 (0)