Skip to content

Check the order of text elements in overlays #1180

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

Merged
merged 1 commit into from
Aug 17, 2020

Conversation

mattgarrish
Copy link
Member

This PR adds support for checking that the order of text elements in a media overlay matches the DOM order of the referenced elements in the corresponding content document(s).

I basically just tied into the existing functionality to perform the same tests for the toc and page list navs with only a minor modification to the error message text and to omit the extra info message attached to the nav checks.

Copy link
Member

@rdeltour rdeltour left a comment

Choose a reason for hiding this comment

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

Looks OK to me!

@mattgarrish mattgarrish merged commit 9d4f113 into master Aug 17, 2020
@mattgarrish mattgarrish deleted the fix/overlays-text-order branch August 17, 2020 10:31
@rdeltour rdeltour restored the fix/overlays-text-order branch September 1, 2020 12:57
@rdeltour rdeltour deleted the fix/overlays-text-order branch December 28, 2020 14:25
rdeltour added a commit that referenced this pull request Dec 28, 2020
Report new error MED-015 when the order of text elements in a Media
Overlay does not match the DOM order of the referenced elements in the
corresponding content document(s).

Applies PR #1180
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.

2 participants