Skip to content

Commit aa9129a

Browse files
committed
add type of callout as a bold string before the text
And fix some missing classes and double spaces.
1 parent e5876f7 commit aa9129a

File tree

37 files changed

+52
-54
lines changed

37 files changed

+52
-54
lines changed

docs/testing/automated/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ The big difference between PHP and JavaScript code standard checks and accessibi
3434
There are several command line tools for automated testing like [aXe-cli](https://github.com/dequelabs/axe-cli) and [pa11y](https://github.com/pa11y/pa11y).
3535

3636
{: .callout .info }
37-
Automated accessibility testing doesn’t catch all the issues, rarely more than 30%. Testing in the browser and manual keyboard testing still needs to be part of your workflow.
37+
**Info:** Automated accessibility testing doesn’t catch all the issues, rarely more than 30%. Testing in the browser and manual keyboard testing still needs to be part of your workflow.
3838

3939
### Setup for aXe-cli
4040

docs/testing/design/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Check the color contrast ratio between text and its background. The rules in WCA
2323
There are many tools to calculate this easily, see [Color contrast checkers](http://www.webaxe.org/color-contrast-tools/).
2424

2525
{: .callout .tip }
26-
Logos and logotype are frequently exceptions to accessibility guidelines, including color contrast rules. If you’re designing a new logo, however, it might be a good idea to consider them, anyway.
26+
**Tip:** Logos and logotype are frequently exceptions to accessibility guidelines, including color contrast rules. If you’re designing a new logo, however, it might be a good idea to consider them, anyway.
2727

2828
## Color Contrast
2929

docs/testing/plugins/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ We do not specifically endorse any of the plugins listed here but offer them as
2323
- [Sa11y](https://wordpress.org/plugins/sa11y/) – Accessibility checking tool geared towards content authors.
2424

2525
{: .callout .warning }
26-
Note that while many plugins in the WordPress plugin repository are overlays or widgets, none of those are listed here. The WordPress Accessibility team does not recommend the usage of [accessibility overlays](https://overlayfactsheet.com/en/).
26+
**Warning:** Note that while many plugins in the WordPress plugin repository are overlays or widgets, none of those are listed here. The WordPress Accessibility team does not recommend the usage of [accessibility overlays](https://overlayfactsheet.com/en/).

docs/topics/code/accessible-name/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ A proper accessible name for HTML elements is essential for screen reader users
2121
Abdulqudus Abubakre gives an excellent, detailed writeup of the accessible name [Understanding Accessible Names in HTML](https://dev.to/ibn_abubakre/understanding-accessible-names-in-html-562).
2222

2323
{: .callout .info }
24-
Note: An `aria-label` attribute on a link or a button overrides all textual content within.
24+
**Please note:** An `aria-label` attribute on a link or a button overrides all textual content within.
2525
For example, the accessible name of the button `<button aria-label="Close">Open</button>` is "Close".
2626

2727
## The accessibility tree shows the accessible name
@@ -60,7 +60,7 @@ The accessibility tree of Chrome shows the following relevant information: the a
6060
- Expanded: false
6161

6262
{: .callout .info }
63-
In this example the accessible name is taken from "Contents". The other options are not specified. An accessible name can be overwritten. Here the different steps for defining an accessible name are shown and sorted in order of the computation. A value for the `aria-label` will overwrite the Contents value.
63+
**Info:** In this example the accessible name is taken from "Contents". The other options are not specified. An accessible name can be overwritten. Here the different steps for defining an accessible name are shown and sorted in order of the computation. A value for the `aria-label` will overwrite the Contents value.
6464

6565
![Screenshot accessible name menu in Chrome]({{site.baseurl}}/assets/images/accessible-name-button.png)
6666

docs/topics/code/components/dialog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ nav_order: 5
88
# The dialog modal
99

1010
{: .callout .alert }
11-
This content will be reviewed, modernized and restructured.
11+
**Alert:** This content will be reviewed, modernized and restructured.
1212
Related issue on [GitHub #152 Topic The dialog modal](https://github.com/wpaccessibility/wp-a11y-docs/issues/152).
1313

1414
A dialog is a window that separates content from the main content of a page. It can ask questions or require user input. When the dialog is active and opened, only the content inside the dialog should be available for interaction. Visually it’s usually overlaid on top of main content.

docs/topics/code/components/excerpt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ nav_order: 3
88
# Post Excerpts
99

1010
{: .callout .alert }
11-
This content will be reviewed, modernized and restructured.
11+
**Alert:** This content will be reviewed, modernized and restructured.
1212
Related issue on [GitHub #151 Topic Post Excerpts](https://github.com/wpaccessibility/wp-a11y-docs/issues/151).
1313

1414
## Excerpt block

docs/topics/code/components/link-logo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ nav_order: 4
88
# Link on a logo in the header
99

1010
{: .callout .alert }
11-
This content will be written.
11+
**Alert:** This content will be written.
1212
Related issue on [GitHub #150 Topic Link on a logo in the header](https://github.com/wpaccessibility/wp-a11y-docs/issues/150).

docs/topics/code/components/pagination.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ nav_order: 6
88
# Pagination
99

1010
{: .callout .alert }
11-
This content will be written.
11+
**Alert:** This content will be written.
1212
Related issue on [GitHub #153 Topic Pagination](https://github.com/wpaccessibility/wp-a11y-docs/issues/153).

docs/topics/code/components/skip-links.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ nav_order: 2
88
# Skip links
99

1010
{: .callout .alert }
11-
This content will be reviewed and restructured.
11+
**Alert:** This content will be reviewed and restructured.
1212
Related issue on [GitHub #149 Topic Skip links](https://github.com/wpaccessibility/wp-a11y-docs/issues/149).
1313

1414
Navigation links, search forms, social media links, or other elements commonly appear on the page before the main content. When navigating using the keyboard, it can be frustrating to get to the main content of a page because of these elements if you need to tab through everything on each page. A skip link provides users (particularly keyboard users) with a means to skip all these elements and jump to the content.

docs/topics/code/dynamic-changes/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ nav_order: 7
88
# Feedback on dynamic changes
99

1010
{: .callout .alert }
11-
This content will be reviewed and restructured. And probably divided into separate topics for more use cases.
11+
**Alert:** This content will be reviewed and restructured. And probably divided into separate topics for more use cases.
1212
Related issue on [GitHub #166 Topic Feedback on dynamic changes](https://github.com/wpaccessibility/wp-a11y-docs/issues/166).
1313

1414
## Using ARIA Live in WordPress

0 commit comments

Comments
 (0)