[wp-trac] [WordPress Trac] #55718: Make sure the aria-label for the "Logged in as" link in comment form is containing the same string as the visible text

WordPress Trac noreply at wordpress.org
Fri May 13 00:03:34 UTC 2022


#55718: Make sure the aria-label for the "Logged in as" link in comment form is
containing the same string as the visible text
--------------------------+------------------------------
 Reporter:  juliemoynat   |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  I18N          |     Version:  5.9.3
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  accessibility
--------------------------+------------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:4 joedolson]:
 > This was introduced in [34525]. It looks like the intent was to provide
 greater context for screen readers than the default text offered; but I
 think that's not necessary or helpful. As long as the link's text provides
 meaningful linking content, the aria-label is unnecessary.

 I think the "Edit your profile" part was the point here, per
 comment:20:ticket:29974 and comment:23:ticket:29974:
 > that link points to your profile but the link text is your display name,
 this could be confusing when read out of context. To be honest, I think
 it's not so clear also for sighted users :)

 Does "Edit your profile" in the label makes the link a bit less confusing?

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


More information about the wp-trac mailing list