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

bugfix for w3c error stated in issue #259 #260

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

bugfix for w3c error stated in issue #259 #260

wants to merge 2 commits into from

Conversation

woolyseal
Copy link
Member

I just fixed the w3c Error with the attribute role in label

@mister-roboto
Copy link

@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:

@jenkins-plone-org please run jobs

With this simple comment all the jobs will be started automatically.

Happy hacking!

@woolyseal
Copy link
Member Author

@jenkins-plone-org please run jobs

Copy link
Member

@ale-rt ale-rt left a 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
Copy link
Member

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.

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