Skip to content

Accessibility: Allowing for horizontal scrolling of code blocks #269

@hobbs-Hobbler

Description

@hobbs-Hobbler

Code blocks as displayed should be accessible to all users. While researching code blocks and keyboard-only accessibility for Hubs Docs, I came across Jake Trent's suggestion for coding for horizontal code blocks. Jake's solution would appear to make the code blocks 'focusible'.

After discussion at the April 29, 2026 Communication and Documentation Team meeting, it was proposed that I place this issue here so that we might try implementing this solution in the future. I believe the solution would become part of the Documentation's CSS.

Note: The exact same issue will be posted to the main-website repository.

Example of a code block within Hubs Docs, What's Next page:
Image

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions