WordPress.org

Making WordPress.org

Opened 8 months ago

Last modified 4 months 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:
Cc:

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.

https://cl.ly/651906af9a71

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
8 months 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
8 months ago

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

#3 @dufresnesteven
6 months 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 your browser's url (Tested in Chrome). You could also copy it from there.

Last edited 6 months ago by dufresnesteven (previous) (diff)

#4 @helgatheviking
6 months 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
4 months 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.


4 months ago

#7 @dd32
4 months 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.