On Thu, 5 Mar 2026 06:15:18 GMT, Shruthi Acharya <[email protected]> wrote:

>> Addressed the Skip navigation links issue in API docs
>> The bug report for the same: https://bugs.openjdk.org/browse/JDK-8368445
>
> @hns 
> Can you please review this PR. Had some confusion with your comments on 
> OpenJDK bug, so I just want to confirm that I haven’t missed any changes.

@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`.

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

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

Reply via email to