Skip to content

Commit

Permalink
Move and rename accessibility section
Browse files Browse the repository at this point in the history
Changes:
- Adjust section description for CSS Function and Property templates to match Selector template.
- Remove "optional" notice in favour of closing notice.
  • Loading branch information
mcaskill committed Jul 23, 2024
1 parent a0bccef commit cf35f73
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,11 @@ Not all functions have formal syntax: if a function doesn't, omit this whole sec

_To use this macro, remove the backticks and backslash in the markdown file._

## Accessibility

Warn of any potential accessibility concerns with using this function and how to work around them.
Remove this section if there is no list.

## Examples

Note that we use the plural "Examples" even if the page only contains one example.
Expand Down Expand Up @@ -180,10 +185,6 @@ See our guide on how to add [code examples](/en-US/docs/MDN/Writing_guidelines/P
> For examples of this function, see [the page on basic-shape](https://example.org).
> ```
## Accessibility concerns
This is an optional section. You can include any warnings here for accessibility concerns that developers should be aware of while using this function. You can also include workarounds for these accessibility concerns if there are any.
## Specifications
`\{{Specifications}}`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,11 @@ _To use this macro, remove the backticks and backslash in the markdown file._

_To use this macro, remove the backticks and backslash in the markdown file._

## Accessibility

Warn of any potential accessibility concerns with using this property and how to work around them.
Remove this section if there is no list.

## Examples

Note that we use the plural "Examples" even if the page only contains one example.
Expand Down Expand Up @@ -163,10 +168,6 @@ See our guide on how to add [code examples](/en-US/docs/MDN/Writing_guidelines/P
> For examples of this API, see [the page on fetch()](https://example.org).
> ```
## Accessibility concerns
This is an optional section. You can include any warnings here for accessibility concerns that developers should be aware of while using this property. You can also include workarounds for these accessibility concerns if there are any.
## Specifications
`\{{Specifications}}`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@ The summary paragraph — start by naming the selector and saying what it does.

_To use this macro, remove the backticks and backslash in the markdown file._

## Accessibility

Warn of any potential accessibility concerns with using this selector and how to work around them.
Remove this section if there is no list.

## Examples

Note that we use the plural "Examples" even if the page only contains one example.
Expand Down Expand Up @@ -130,11 +135,6 @@ See our guide on how to add [code examples](/en-US/docs/MDN/Writing_guidelines/P
> For examples of this API, see [the page on fetch()](https://example.org).
> ```
## Accessibility concerns
Optionally, warn of any potential accessibility concerns with using this selector and how to work around them.
Remove this section if there is no list.
## Specifications
`\{{Specifications}}`
Expand Down

0 comments on commit cf35f73

Please sign in to comment.