Extend function to optionally include commenter name in comment_reply_link
|Reported by:||Elpie||Owned by:||SergeyBiryukov|
Screen readers recognize links and make them searchable. Unique names facilitate that search. Links need to have unique names that are descriptive and make sense when read out of context. WordPress allows users to set the text they want to display on the comment_reply_link but then this text is repeated for every comment on a post.
WCAG Checkpoint 13.1 says: Clearly identify the target of each link. [Priority 2]
For improved accessibility it is far better to have the comment_reply_link include the commenter name. "Reply to Tom Thumb" and ideally, include a title on the link that includes both the commenter name and comment number. Users should have the option to filter for their custom text and to include (or not include) the commenter name.
At the moment, anyone who wants to present an accessible front-end cannot use threaded comments unless they are prepared to generate masses of the same, generic, unhelpful link.
Change History (26)
comment:4 @markjaquith — 4 years ago
- Milestone changed from Awaiting Review to Future Release
- Priority changed from normal to low
- Type changed from defect (bug) to enhancement
- Owner set to merty
- Status changed from new to accepted
comment:13 @nacin — 15 months ago
- Component changed from Accessibility to Comments
- Focuses accessibility added
- Milestone changed from Future Release to 4.1
- Owner changed from merty to SergeyBiryukov
- Resolution set to fixed
- Status changed from accepted to closed