[wp-trac] [WordPress Trac] #44621: Privacy Policy Guide: Improve the readability of the suggested text

WordPress Trac noreply at wordpress.org
Thu Dec 5 23:09:06 UTC 2019


#44621: Privacy Policy Guide: Improve the readability of the suggested text
-------------------------------------------------+-------------------------
 Reporter:  birgire                              |       Owner:  garrett-
                                                 |  eclipse
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  5.4
Component:  Privacy                              |     Version:  4.9.6
 Severity:  normal                               |  Resolution:
 Keywords:  has-screenshots has-patch needs-     |     Focuses:
  testing needs-design-feedback italic-text      |  accessibility
-------------------------------------------------+-------------------------

Comment (by melchoyce):

 Closest we have is probably an info notice.

 I'm fine using card styles here, for what it's worth. I think it's a good
 use of existing styles to call out something that isn't a notice, and it
 does a good job of separating the suggested text from the explanatory
 text.

 The HTML feels a little hectic on this page; I think we should, at the
 very least, group all suggested text within the same section into a div,
 and then style that div to match card styles. So, something like:


 {{{
 <div class="privacy-policy-suggested-text">
     <p><strong class="privacy-policy-tutorial">Suggested text:</strong> If
 you leave a comment on our site you may opt-in to saving your name, email
 address and website in cookies. These are for your convenience so that you
 do not have to fill in your details again when you leave another comment.
 These cookies will last for one year.</p>
     <p>If you visit our login page, we will set a temporary cookie to
 determine if your browser accepts cookies. This cookie contains no
 personal data and is discarded when you close your browser.</p>
     <p>When you log in, we will also set up several cookies to save your
 login information and your screen display choices. Login cookies last for
 two days, and screen options cookies last for a year. If you select
 "Remember Me", your login will persist for two weeks. If you log out of
 your account, the login cookies will be removed.</p>
     <p>If you edit or publish an article, an additional cookie will be
 saved in your browser. This cookie includes no personal data and simply
 indicates the post ID of the article you just edited. It expires after 1
 day.</p>
 </div>
 }}}

 And:

 {{{
 .privacy-policy-suggested-text {
     padding: 0 .75em;
     border: 1px solid #ccd0d4;
     box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
     background: #fff;
 }
 }}}

 Attaching a screenshot of what that looks like.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44621#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list