Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(required-parent): Allow *item > group > *item nesting #2898

Merged
merged 3 commits into from
May 2, 2021

Conversation

WilcoFiers
Copy link
Contributor

Related to #2897.

Need to look into menuitem before we merge this. menuitem > group > menuitem doesn't work nearly as well as treeitem and listitem seem to.

@WilcoFiers WilcoFiers requested a review from straker April 28, 2021 12:22
@WilcoFiers WilcoFiers marked this pull request as ready for review April 30, 2021 10:29
@WilcoFiers WilcoFiers requested a review from a team as a code owner April 30, 2021 10:29
try {
var test = JSON.parse(content);
} catch (e) {
throw new Error('Unable to parse content of ' + file.originalPath)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Encountered this because I had a stray comma. Figured I'd tweak it a bit.

@@ -107,6 +108,29 @@ All checks allow these global options:
</tbody>
</table>

### aria-required-parent

<table>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NBD but it's strange that we're not using Markdown to generate this table 🤷

Copy link
Contributor

@straker straker Apr 30, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I remember it was because Markdown table syntax wasn't working so well with multiline code blocks in the cells.

@WilcoFiers WilcoFiers merged commit 59b4a7e into develop May 2, 2021
@WilcoFiers WilcoFiers deleted the group-treeitem-fix branch May 2, 2021 15:31
straker pushed a commit that referenced this pull request May 18, 2021
* fix(required-parent): Allow *item > group > *item nesting

* chore(required-parent): Exclude menuitem from exception

* chore(required-parent): Add ownGroupRoles option
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants