RFR: JDK-8299718: JavaDoc: Buttons to copy specific documentation URL are not accessible

Hannes Wallnöfer hannesw at openjdk.org
Mon Apr 3 11:44:06 UTC 2023


On Fri, 31 Mar 2023 20:34:18 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:

> * While "Copied!" is OK, it is not obvious what "Copy" will copy.  Consider using `Copy URL` or `Copy Snippet` (or whatever else in future) when using keyboard navigating.

The full label text such as "Copy URL" or "Copy Snippet" is used in the `aria-label` attribute of the buttons and should thus be used by screen readers and the like. I was a bit torn here between providing user information and not making the feature too visually intrusive.
 
> * Add a Release Note for this feature, noting how to enable it when using Safari ... and any other browser-specific settings that we know of.

I'm considering it, but not fully convinced this is warranted.

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

PR Comment: https://git.openjdk.org/jdk/pull/13176#issuecomment-1494167040


More information about the javadoc-dev mailing list