-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
bugfix for w3c error stated in issue #259 #260
base: master
Are you sure you want to change the base?
Conversation
@wkbkhard thanks for creating this Pull Request and help improve Plone! To ensure that these changes do not break other parts of Plone, the Plone test suite matrix needs to pass. Whenever you feel that the pull request is ready to be tested, either start all jenkins jobs pull requests by yourself, or simply add a comment in this pull request stating:
With this simple comment all the jobs will be started automatically. Happy hacking! |
@jenkins-plone-org please run jobs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This LGTM, thanks!
I would go on removing this attribute if it causes an error.
Anyway I believe it was added for some reason and we should actually take care of understanding the original problem.
I think @agitator can help.
If I am not wrong he added the attribute here in this commit:
896ed50
Also @polyester might have some interesting suggestion for us.
@@ -229,7 +229,7 @@ class GlobalSectionsViewlet(ViewletBase): | |||
|
|||
_opener_markup_template = ( | |||
u'<input id="navitem-{uid}" type="checkbox" class="opener" />' | |||
u'<label for="navitem-{uid}" role="button" aria-label="{title}"></label>' # noqa: E 501 | |||
u'<label for="navitem-{uid}" aria-label="{title}"></label>' # noqa: E 501 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The trailing # noqa: E 501
can be removed given the line is shorter than 80 chars now.
I just fixed the w3c Error with the attribute role in label