[wp-trac] [WordPress Trac] #52314: the HTML <title> tag for Edit Post should include the post's title
WordPress Trac
noreply at wordpress.org
Tue Jun 8 21:25:44 UTC 2021
#52314: the HTML <title> tag for Edit Post should include the post's title
-------------------------------------+-------------------------------------
Reporter: skierpage | Owner: alexstine
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 5.8
Component: Editor | Version: 5.6
Severity: minor | Resolution:
Keywords: has-patch has- | Focuses: accessibility,
screenshots | administration
-------------------------------------+-------------------------------------
Comment (by joedolson):
I feel like we're losing the post type context if we shift to just the
post title. It's certainly possible a user could be editing multiple posts
with the same title but of different types, and it would be nice to be
able to convey that in the title.
I think it benefits all users equally.
As far as the title length goes and how it's represented in the browser,
screen reader users will have the full title read if they choose to hear
it, as they aren't constrained to the visible text; other users will get
what they get. In common cases, like pages or posts, it won't be that many
additional characters.
In my personal browser use, it wouldn't make a difference either way...all
I'm going to see is 'Edi'. :D
The edit item string is part of the post type label array: See:
https://developer.wordpress.org/reference/functions/get_post_type_labels/
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52314#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list