wp-bootstrap-navwalker icon indicating copy to clipboard operation
wp-bootstrap-navwalker copied to clipboard

Remove anchor from active list item

Open danielmrey opened this issue 8 years ago • 4 comments

Can the text inside an active list item be only text and not an anchor with a link?

When you are in a page the link in the menu to that page should be only text and not anchor

Thank you!

danielmrey avatar May 31 '17 16:05 danielmrey

Hey Daniel,

I agree this might be the preferred behaviour. I assigned myself to this issue and will investigate when I have time. Unfortunately I'm pretty busy this month but will get back to this as soon as I can.

Thanks for the suggestion!

pattonwebz avatar Jun 14 '17 09:06 pattonwebz

Thanks to you William!

Best Regards.

Daniel Muñoz Rey Freelance Web designer and developer

On 14 June 2017 at 10:16, William Patton [email protected] wrote:

Hey Daniel,

I agree this might be the preferred behaviour. I assigned myself to this issue and will investigate when I have time. Unfortunately I'm pretty busy this month but will get back to this as soon as I can.

Thanks for the suggestion!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/wp-bootstrap/wp-bootstrap-navwalker/issues/280#issuecomment-308373423, or mute the thread https://github.com/notifications/unsubscribe-auth/AAcRE2baGTNYYVrg9Ik2pe4H29DT_YERks5sD6TUgaJpZM4Nr43a .

danielmrey avatar Jun 14 '17 10:06 danielmrey

WP core makes the current page's menu item a link.

szepeviktor avatar Nov 28 '17 14:11 szepeviktor

According to https://www.w3.org/WAI/tutorials/menus/structure/#indicate-the-current-item both approaches are valid.

This technique is particularly useful when the anchor () cannot be removed from the HTML.

may be read as if the first approach is preferable.

IanDelMar avatar Jan 28 '21 17:01 IanDelMar