Conversation
dbjorge
left a comment
There was a problem hiding this comment.
Thanks, this looks good overall! A few suggestions inline.
It'd also be good to update the PR title to something a bit more descriptive; the "docs" prefix already implies that it's a documentation update, something like docs: typo and grammar corrections would be more helpful to someone reviewing the change log later and trying to decide if they want to review the individual change in more detail.
doc/issue_impact.md
Outdated
| ### Minor | ||
|
|
||
| Considered to be a nuisance or an annoyance bug. Prioritize fixing if the fix only takes a few minutes and the developer is working on the same screen/feature at the same time, otherwise the issue should not be prioritized. Will still get in the way of compliance if not fixed. | ||
| Considered to be a nuisance or an annoyance bug. Prioritize fixing it if the fix only takes a few minutes and the developer is working on the same screen/feature at the same time, otherwise the issue should not be prioritized. This issue will still get in the way of compliance if not fixed. |
There was a problem hiding this comment.
I'd leave the last sentence here as-is as a sentence fragment for consistency/conciseness with the other text around it. All of these definitions are written in fragment form (all of their first sentences, + some other last sentences).
doc/plugins.md
Outdated
| Plugins currently support two functions: a "run" function and a "collect" function. Together these functions can be combined to implement complex behaviors on top of the axe system. | ||
|
|
||
| In order to create such a plugin, we need to implement the "run" function for the plugin, and the command that registers and executes the "run" function within each iframe on the page that contains axe. Lets look at what a noop implementation of this run function would look like: | ||
| To create such a plugin, we need to implement the 'run' function and the command that registers and executes the 'run' function within each iframe on the page containing axe. Let's look at what a noop implementation of this run function would look like: |
There was a problem hiding this comment.
| To create such a plugin, we need to implement the 'run' function and the command that registers and executes the 'run' function within each iframe on the page containing axe. Let's look at what a noop implementation of this run function would look like: | |
| To create such a plugin, we need to implement the `run` function and the command that registers and executes the `run` function within each iframe on the page containing axe. Let's look at what a noop implementation of this run function would look like: |
doc/release-and-support.md
Outdated
| Additionally, we recommend that you always use the latest patch version of whichever minor version you are on. For example if you are using axe-core 3.5.5, and 3.5.6 is released it is best to upgrade immediately. Patch releases of axe-core should not find new issues, although they occasionally resolve issues in the case of false positives. | ||
|
|
||
| Ensuring you always use the latest available patch version of axe-core on any minor line guarantees you always the most secure version of axe-core. This minor line must have been released within the last 18 months. See [security updates](#security-updates). | ||
| Ensuring that you always use the latest available patch version of axe-core guarantees that you are using the most secure version. This minor line must have been released within the last 18 months. See [security updates](#security-updates). |
There was a problem hiding this comment.
The "on any minor line" part is important to keep for meaning here. If our last few releases were 4.9.2, 4.9.3, 4.10.0, 4.10.1, "the latest available patch version" means "4.10.1", but what this paragraph is saying is "even if you're still on the 4.9 minor line, you should ensure that you're using the latest patch version within that minor line (ie, 4.9.3 rather than 4.9.2)"
| Ensuring that you always use the latest available patch version of axe-core guarantees that you are using the most secure version. This minor line must have been released within the last 18 months. See [security updates](#security-updates). | |
| Ensuring that you always use the latest available patch version of axe-core on any minor line guarantees that you are using the most secure version. This minor line must have been released within the last 18 months. See [security updates](#security-updates). |
doc/run-partial.md
Outdated
| **important**: The order in which these methods are called matters for performance. Internally, axe-core constructs a flattened tree when `axe.utils.getFrameContexts` is called. This is fairly slow, and so should not happen more than once per frame. When `axe.runPartial` is called, that tree will be used if it still exists. Since this tree can get out of sync with the actual DOM, it is important to call `axe.runPartial` immediately after `axe.utils.getFrameContexts`. | ||
|
|
||
| To run efficiently, `axe.runPartial` calls should happen in parallel, so that when possible browsers can test multiple frames simultaneously. | ||
| To run efficiently, `axe.runPartial` calls should happen in parallel, so that, when possible, browsers can test multiple frames simultaneously. |
There was a problem hiding this comment.
| To run efficiently, `axe.runPartial` calls should happen in parallel, so that, when possible, browsers can test multiple frames simultaneously. | |
| To run efficiently, `axe.runPartial` calls should happen in parallel so that, when possible, browsers can test multiple frames simultaneously. |
| - `type` - string(required). The attribute type which dictates the valid values of the attribute. Valid types are: | ||
| - `boolean` - Boolean attributes only accept `true` or `false` as valid values (e.g. `aria-selected`). | ||
| - `nmtoken` - Name token attributes accept a single value from a list of valid values (e.g. `aria-orientation`). | ||
| - `mntokens` - Name tokens attributes accept a space separated list of values from a list of valid values (e.g. `aria-relevant`). |
There was a problem hiding this comment.
Let's file a separate issue/PR for correcting this (here and on L48); this will also need a corresponding update to our typings and tests.
package-lock.json
Outdated
There was a problem hiding this comment.
This should be omitted from the PR
test/node/package-lock.json
Outdated
There was a problem hiding this comment.
This should be omitted from the PR
<< Describe the changes >>
Several documentation updates.