Opened 8 years ago
Closed 8 years ago
#33757 closed defect (bug) (fixed)
#a11y-headings - the wp_comment_reply() h5 headings
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.4 | Priority: | normal |
Severity: | normal | Version: | 4.3 |
Component: | Comments | Keywords: | has-patch commit |
Focuses: | ui, accessibility | Cc: |
Description (last modified by )
These headings appear in several places: in the Comments screen, in the Edit post screen and in the Dashboard:
Depending on the screen, they should use a different heading level. By the way, wondering if they should be headings in the first place. Maybe we should simplify and just make them paragraphs. Thoughts?
#a11y-headings
Attachments (3)
Change History (21)
This ticket was mentioned in Slack in #accessibility by afercia. View the logs.
8 years ago
This ticket was mentioned in Slack in #accessibility by rianrietveld. View the logs.
8 years ago
#8
follow-up:
↓ 11
@
8 years ago
- Owner set to afercia
- Status changed from new to assigned
why the style="display: none"
?
#10
@
8 years ago
That was pre-existing; I didn't change it. It seems pretty inelegant, though - we certainly could change that now, while we're working in this area.
#11
in reply to:
↑ 8
;
follow-up:
↓ 12
@
8 years ago
Replying to wonderboymusic:
why the
style="display: none"
?
As far as I see, first added here: [9098] I guess the best person to ask is @azaozz :)
#12
in reply to:
↑ 11
@
8 years ago
Replying to afercia:
why the
style="display: none"
?
You mean for the initially hidden elements? That's from over 7 years ago... Guessing it's to match how jQuery hides/shows elements. Can be changed to add and remove class="hidden"
if needed but frankly I'd like to rewrite all of it. It's been looong time :)
#13
@
8 years ago
frankly I'd like to rewrite all of it. It's been looong time :)
Thanks @azaozz :) then let's keep it simple and focus just on the scope of this ticket.
#14
@
8 years ago
- Focuses ui added
- Keywords dev-feedback added
Refreshing the patch after [34241] and noticed that having two legend inside a fieldset is invalid code. Reworking the patch but wondering if there's any reason there's no "title" for the Quick Edit form. I mean, there's a Reply to Comment
text when replying, a Add new Comment
text when adding a new comment but no Edit Comment
when Quick Editing.
Looks like it would be simple to add something like in the screenshot below (compared with the other "titles"):
This ticket was mentioned in Slack in #design by afercia. View the logs.
8 years ago
#16
@
8 years ago
- Keywords commit added; dev-feedback removed
As discussed on Slack the refreshed patch adds a "Edit Comment" legend before the Comments Quick Edit form to pair it with "Reply to Comment" and "Add new Comment" and also moves the Name, Email, and URL fields after the Comment textarea.
Maybe these forms would need some major CSS adjustments (alignments, more white space, etc.) but I've tried to keep the CSS changes to a bare minimum. Visual improvements should preferably go in a separate ticket.
Screenshots before and after:
This seems like an appropriate place for a fieldset/legend, actually. What do you think?