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

update allowances for figure #209

Merged
merged 3 commits into from
Feb 15, 2020
Merged

update allowances for figure #209

merged 3 commits into from
Feb 15, 2020

Conversation

scottaohara
Copy link
Member

@scottaohara scottaohara commented Feb 3, 2020

if a figure has a figcaption descendant, the expected parent/child relationship needs to be maintained, so the figure cannot have a role.

if there is no figcaption descendant, then the figure can receive any role.

this commit also alphabetizes fieldset and figcaption correctly in the table.

note the issue branch is incorrect, this update will close #99


Preview | Diff

if a figure has a figcaption descendant, the expected parent/child relationship needs to be maintained, so the figure cannot have a role.

if there is no figcaption descendant, then the figure could receive any role.

this commit also alphabetizes fieldset and figcaption correctly in the table.
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.

consider allowing other roles on the figure element
2 participants