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 the dlitem rule for XHTML documents #652

Merged
merged 1 commit into from
Dec 15, 2017

Conversation

rdeltour
Copy link
Contributor

@rdeltour rdeltour commented Dec 15, 2017

In XHTML, element.tagName preserves the case.

In the dlitem check, the tag name is now upper-cased before
being tested as 'DL', to make the rules works on XHTML documents.

Fixes #581

In XHTML, `element.tagName` preserves the case.

In the `dlitem` check, the tag name is now upper-cased before
being tested as 'DL', to make the rule work on XHTML documents.

Fixes dequelabs#581
@rdeltour
Copy link
Contributor Author

rdeltour commented Dec 15, 2017

@WilcoFiers ready to be reviewed. This is a very simple fix, so maybe it can be added to 2.6? (sorry for the late submission).

Note that this only affects the 2.x branch.

The CI failures seem to be unrelated to this PR and was apparently introduced by commit 4dbb6a6 according to the CI build.

@WilcoFiers WilcoFiers merged commit e67a913 into dequelabs:develop-2x Dec 15, 2017
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