WordPress.org

Make WordPress Core

Opened 2 months ago

Last modified 2 months ago

#53725 new defect (bug)

Classic Editor: 'new-post-slug' input missing a label

Reported by: sabernhardt Owned by:
Milestone: 5.9 Priority: normal
Severity: normal Version:
Component: Editor Keywords: has-patch
Focuses: accessibility, coding-standards Cc:

Description

The input for changing the permalink of a post does not have a label in the Classic Editor.

Attachments (1)

53725.diff (859 bytes) - added by sabernhardt 2 months ago.

Download all attachments as: .zip

Change History (3)

@sabernhardt
2 months ago

#1 @sabernhardt
2 months ago

  • Keywords has-patch added

The patch includes a spellcheck attribute, which was suggested on #50499.

Also, I think the translation needs something else. I chose the existing string "URL Slug" instead of new text, and I still have English there with a French profile.

#2 @audrasjb
2 months ago

The change looks good to me, thanks @sabernhardt!

I can confirm the URL Slug string already exists and is translated in fr_FR (https://translate.wordpress.org/projects/wp/dev/fr/default/?filters%5Bstatus%5D=either&filters%5Boriginal_id%5D=7578448&filters%5Btranslation_id%5D=62892203) so I'm not sure why it's not translated. Maybe because the existing occurence comes from the block editor?

Last edited 2 months ago by audrasjb (previous) (diff)
Note: See TracTickets for help on using tickets.