[wp-trac] [WordPress Trac] #43436: Add opt-in for commenter cookies
WordPress Trac
noreply at wordpress.org
Sun Mar 4 15:07:45 UTC 2018
#43436: Add opt-in for commenter cookies
------------------------------------------+------------------
Reporter: azaozz | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 5.0
Component: Comments | Version:
Severity: normal | Resolution:
Keywords: gdpr has-patch needs-testing | Focuses:
------------------------------------------+------------------
Comment (by azaozz):
Running into some styling problems. In most themes a `<label>` inside the
comments form is set to `display: block;`, see the above screenshots. The
way to fix this is to move the `<input type="checkbox">` inside the
`<label>` element.
In addition the labels in the comments form are styled for shorter text:
usually bold, allcaps, larger font, etc. Don't see a good way to prevent
that for the checkbox label. The only way seems to be to not use a
`<label>` element at all. Can be a span with ID and `aria-labelledby` on
the checkbox, but that will make the text "non-clickable", i.e. to toggle
the checkbox the user will have to click exactly on it.
Seems this will need some updates to the themes that would take ages.
Alternatively we can add one line of CSS to reset the label text to
`initial` but that may still bring visual bugs in some themes.
Any other ideas/alternatives?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43436#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list