On Thu, 26 Mar 2026 10:35:38 GMT, Shruthi Acharya <[email protected]> wrote:

>> @shruacha1234 the changes to the stylesheet look good. 
>> 
>> What meant in my comment was that the location of the target id 
>> "skip-navbar-top" for the link is no longer correct. It is meant to bypass 
>> navigation links, and it is located at the end of the top navigation bar. 
>> But we now have the TOC side bar in many pages, which is also part of the 
>> navigation links that should be skipped. So clicking on "Skip navigation 
>> links" moves the focus to the start of the TOC side bar, instead of after 
>> it. The "skip-navbar-top" id should really be located at or around the 
>> `<main>` element, which is created in `BodyContents.java`.
>
> @hns
> Added the skip-nav id to the main element as suggested. Can you please take a 
> look

@shruacha1234 strangely, this solution does not work for me. I tested on 
Firefox, Safari and Chrome, and in all three browsers following the "Skip 
navigation links" link positions the page beneath the page heading, so that it 
is invisible. I have no explanation why this is, but it seems the solution is 
not working.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/30068#issuecomment-4162958689

Reply via email to