Skip to content

bugfix for w3c error stated in issue #259#260

Open
woolyseal wants to merge 2 commits intomasterfrom
iss259
Open

bugfix for w3c error stated in issue #259#260
woolyseal wants to merge 2 commits intomasterfrom
iss259

Conversation

@woolyseal
Copy link
Copy Markdown
Member

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

@mister-roboto
Copy link
Copy Markdown

@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 woolyseal requested review from agitator and ale-rt August 24, 2021 12:02
@woolyseal
Copy link
Copy Markdown
Member Author

@jenkins-plone-org please run jobs

Copy link
Copy Markdown
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.

_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
Copy Markdown
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