Basically, I have a website which needs to be accessible, so I implemented something called Skip Links, By pressing tab on the keyboard when entering the page it has been made possible to navigate the page by appending a target to the URL and scrolling to the target.
I have multiple headings in the page with ids, such as #maincontent, #personalArea and so on.
To navigate to them i simply navigate to website.com/#mainContent.
When I try to do that it automatically gets changed to website.com/#/mainContent, and then stays on the current page without scrolling me to the target, I assumed this might have something to do with Umbraco and it's routing though I can say for sure since I haven't encountered this anywhere else.
How can I disable the automatically added slash preceding the # sign?
How to prevent the slash added after the # sign
Basically, I have a website which needs to be accessible, so I implemented something called Skip Links, By pressing tab on the keyboard when entering the page it has been made possible to navigate the page by appending a target to the URL and scrolling to the target.
I have multiple headings in the page with ids, such as #maincontent, #personalArea and so on.
To navigate to them i simply navigate to website.com/#mainContent.
When I try to do that it automatically gets changed to website.com/#/mainContent, and then stays on the current page without scrolling me to the target, I assumed this might have something to do with Umbraco and it's routing though I can say for sure since I haven't encountered this anywhere else.
How can I disable the automatically added slash preceding the # sign?
That looks like AngularJs or a similar library taking over your routing - Umbraco won't be doing anything on the frontend.
Yes indeed you are correct, I eventually found that out, I was sure Umbraco had something to do with it.
is working on a reply...