Making WordPress.org

Opened 2 years ago

Last modified 2 years ago

#4759 new enhancement

Add a link icon to FAQ questions for plugins

Reported by: helgatheviking Owned by:
Milestone: Priority: normal
Component: Plugin Directory Keywords:

Description (last modified by SergeyBiryukov)

The current FAQ has no way to retrieve the link to a particular question. Per #4519 it needs to be a button for accessibility reasons, but that means you can't right-click to copy the link. So instead you have to go into your browsers dev tools, copy the anchor link and combine that with the current URL.


It could be helpful to add a link icon next to the question title that holds the full anchor link.

Change History (7)

#1 @helgatheviking
2 years ago

Just noticed the # signs being used in some documentation that do exactly what I'm trying to describe. Example: https://wordpress.org/support/article/debugging-in-wordpress/#wp_debug

#2 @SergeyBiryukov
2 years ago

  • Component changed from General to Plugin Directory
  • Description modified (diff)

#3 @dufresnesteven
2 years ago

@helgatheviking Hi there!

What would be the use case for copying the anchor tag? Is it to share it externally?

As a note, when you click on the anchor link, it will update you browser's url (Tested in Chrome). You could also copy it from there.

Version 0, edited 2 years ago by dufresnesteven (next)

#4 @helgatheviking
2 years ago

@dufresnesteven Hi! The use case is that I find myself linking people from support to the FAQ. Read the manual and all that! :)

I hadn't noticed the browser url updating, so thanks for the tip! Still I think what is happening in the support articles (with the linked #) is great and would be useful in plugin pages too.

#5 @dufresnesteven
2 years ago

@helgatheviking Got It.

I am by no means an Accessibility expert, but I think we could change that button to a div and add role="button" to achieve the same affect.

I'll do some research and circle back.

Although the anchor tag (#) does exist, it think it would be bizarre to have it in the toggle for a collapsible section.

This ticket was mentioned in Slack in #accessibility by dufresnesteven. View the logs.

2 years ago

#7 @dd32
2 years ago

  • Summary changed from <Enhancement> Add a link icon to FAQ questions for plugins to Add a link icon to FAQ questions for plugins
  • Type changed from defect to enhancement
Note: See TracTickets for help on using tickets.