Skip to content

Commit 84e8e0c

Browse files
authored
docs: minor revisions in wording (#2170)
1 parent 10350e2 commit 84e8e0c

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

docs/02-usage/index.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
---
22
title: Usage
3-
slug: 'usage'
43
---
54

65
We officially support four interfaces for SVGO:

docs/04-plugins/inlineStyles.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ svgo:
1616
description: What pseudo-classes and pseudo-elements to use. An empty string signifies all non-pseudo-classes and non-pseudo-elements.
1717
---
1818

19-
Merges styles from `<style>` elements to the `style` attribute of matching elements.
19+
Merge and inline CSS declarations from a `<style>` element to the `style` attribute of selected elements.

docs/04-plugins/removeUnknownsAndDefaults.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ svgo:
55
defaultPlugin: true
66
parameters:
77
unknownContent:
8-
description: If to remove elements that are not known or can't be the child of the parent element according.
8+
description: If to remove elements that are not known or can't be the child of its parent element.
99
default: true
1010
unknownAttrs:
1111
description: If to remove attributes that are not assignable to the respective element.
@@ -20,7 +20,7 @@ svgo:
2020
description: If to remove attributes that are being if the same value is being inherited by it's parent element anyway.
2121
default: true
2222
keepDataAttrs:
23-
description: If to keep [`data-*`](https://developer.mozilla.org/docs/Web/SVG/Attribute/data-*) attributes.
23+
description: If to keep [`data-*`](https://developer.mozilla.org/docs/Web/SVG/Attribute/data-*) attributes. Set to `false` to remove data attributes.
2424
default: true
2525
keepAriaAttrs:
2626
description: If to keep [ARIA (Accessible Rich Internet Applications)](https://developer.mozilla.org/docs/Web/Accessibility/ARIA) attributes, used for accessibility. This excludes `role`, which is managed with the `keepRoleAttr` parameter.

0 commit comments

Comments
 (0)