[Support request] Editing link with aria-current=’page’ (current page)

Home Forums Support [Support request] Editing link with aria-current=’page’ (current page)

Home Forums Support Editing link with aria-current=’page’ (current page)

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1351149
    AD

    Hi,

    When I try to edit the navigation bar through CSS, I run by a problem. Even though I am able to change the appearance of most elements in the navigation bar, there is one exception.

    This exception is the link to the current page. As you can see in the HTML, this element has an extra attribute added to it: aria-current=”page”. Whenever an element has this attribute, it won’t respond to any changes in the CSS.

    I am looking for a way to remove the effect of this added attribute so I can change the appearance of the element.

    I hope this is clear and thanks in advance.

    #1351221
    Leo
    Staff
    Customer Support

    Hi there,

    Any chance you can link us to the site in question?

    You can edit the original topic and use the private URL field.

    Let me know 🙂

    #1352909
    AD

    I am working locally unfortunately. Otherwise I could have shared the URL.
    However I copied the specific element:

    <a href="http://site.local/sample-page/" aria-current="page">Sample Page</a>

    #1353120
    Leo
    Staff
    Customer Support

    What CSS are you using that’s not working?

    Can you set up a staging environment so we can see the issue?

    Problems like these are hard to debug without seeing the code.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.