[wp-trac] [WordPress Trac] #58493: Bug Report - Vertical Spacing Inconsistency between the sub-title and the content below on the User Profile Page in responsive state

WordPress Trac noreply at wordpress.org
Thu Jun 8 13:30:37 UTC 2023


#58493: Bug Report - Vertical Spacing Inconsistency between the sub-title and the
content below on the User Profile Page in responsive state
--------------------------------------+------------------------------------
 Reporter:  nandhuraj                 |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Users                     |     Version:  2.5
 Severity:  normal                    |  Resolution:
 Keywords:  needs-patch dev-feedback  |     Focuses:  ui, accessibility,
                                      |  css
--------------------------------------+------------------------------------
Changes (by costdev):

 * keywords:  needs-patch => needs-patch dev-feedback
 * focuses:  ui, css => ui, accessibility, css
 * version:  6.2.2 => 2.5


Comment:

 Hi @nandhuraj, welcome to Trac and thanks for opening this ticket!

 The User Profile screen has `td > label > input`, whereas the other
 screens have `td > fieldset > label > input`. However, the `<fieldset>`
 elements on these screens also contain `<legend class="screen-reader-
 text">`. Using `<p>` increases the spacing too much.

 @sabernhardt Rather than having a `<fieldset>` with only one child
 element, do you have any thoughts on whether we should add `<legend class
 ="screen-reader-text">` here, similar to the other screens?

 -----
 - I believe this was introduced in [7214] when such fields were wrapped
 with `table > tr > td` instead of `p` tags. Setting the `Version` property
 to `2.5`.
 - Adding the `accessibility` focus and `dev-feedback` regarding my
 question above.

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


More information about the wp-trac mailing list