Draft for discussion. The Accessibility in the Metaverse Working Group has not approved this demo.
Keyboard Focus in 3D
Press Tab to move focus across the five objects, Shift+Tab to go back, and Enter or Space to select the focused one. Clicking an object works too.
While an object has focus, the arrow keys step through the objects and wrap around at the ends, so you can loop through the set. To look from any angle, use the icon buttons on the scene or drag across it. Escape hides the labels drawn on the scene.
Objects
The canvas is hidden from assistive technology. These native buttons are the tab stops, and each one drives its object in the scene. Tab leaves the set after the last object, so focus is never trapped. The arrow keys loop within it. The camera buttons on the scene come after the objects in the tab order.
Settings
Camera speed sets how far each camera button moves the view, how fast the view eases, and how far a drag turns it. When your system asks for reduced motion, the view jumps straight to each new position at any speed.
Activity
Status
Nothing is selected. Press Tab to focus an object, then press Enter or Space to select it.
Input log
- WaitingNo input yet.
What this demo covers
MSF XR Accessibility Guidelines
These criteria come from the v2.0 draft of the Metaverse Standards Forum (MSF) XR Accessibility Guidelines working document. The names below are short summaries; the working document has the full wording. Experimental statements are needs that are essential for full access but not yet widely implemented.
- Focus › Interactive ElementsA text label for every interactive elementExperimental
- Each object's button gives its name, color and position in the set, plus whether it is selected.
- Focus › Interactive ElementsA logical sequence to step throughExperimental
- Focus moves through the objects from left to right, the order they stand in the scene.
- Focus › Interactive ElementsThe view turns to the focused elementExperimental
- With the "Turn the view" setting on, focusing an object aims the camera at it. The readout on the scene names the object being aimed at.
- Focus › Interactive ElementsA focus indicator, and where to find it when out of viewExperimental
- A ring marks the focused object. If it is out of view, an arrow at the edge of the scene points to it, and the status message says where it is, such as "to your left" or "behind you".
- Focus › Interactive Elements"You have looped" feedbackExperimental
- Arrow keys wrap from the last object to the first and back. Each wrap is announced, shown on the scene, and logged.
- Focus › Interactive ElementsNo major change of context from focus aloneExperimental
- Focus only turns the view. Nothing is selected until you press Enter or Space or click, and you can turn off the view turning.
- Focus › Content on Hover or FocusExtra content on hover or focus can be dismissed, hovered and kept
- Escape hides the object label and the camera button caption. A caption stays while the pointer is anywhere over the scene, and stays until it is dismissed or no longer applies.
- Input Methods › Dragging MovementsDragging actions work with a single pointer, without dragging
- Orbit and tilt by dragging also have single-click buttons, along with zoom and reset.
- Timing & Difficulty › Speed of InteractionUser control of camera movement speed
- The Camera speed setting offers slow, medium and fast for buttons, easing and dragging.
WCAG 2.2
These link to the W3C Understanding page for each Web Content Accessibility Guidelines (WCAG) 2.2 success criterion.
- 2.1.1 Keyboard
- Tab, Shift+Tab, the arrow keys, Enter and Space reach and operate every object. The mouse is optional.
- 2.1.2 No Keyboard Trap
- Tab moves past the last object and Shift+Tab moves before the first. Only the arrow keys loop, so focus is never held in the scene.
- 2.4.3 Focus Order
- Focus follows the left-to-right order of the objects in the scene, then moves on to the camera buttons and settings.
- 2.4.7 Focus Visible
- The focused object gets a white ring with a dark outline in 3D, and its button gets a 3px outline.
- 1.4.1 Use of Color
- A selected object is lifted, stands on a base disc and is labeled in text. Color is not the only cue.
- 1.4.13 Content on Hover or Focus
- Labels drawn on the scene can be dismissed with Escape, stay while the pointer moves over the scene, and stay until no longer valid.
- 4.1.2 Name, Role, Value
- Each object is a native button with a name and a pressed state. Settings are native, labeled form controls.
- 4.1.3 Status Messages
- Selecting, looping and out-of-view notices are announced through a polite live region.
- 2.3.3 Animation from Interactions
- The spin, the focus pulse and the camera easing stop when the system asks for reduced motion.
- 2.5.7 Dragging Movements
- Orbiting and tilting by dragging also have single-click button alternatives.
- 2.5.8 Target Size (Minimum)
- Every button and setting, including the icon buttons on the scene, has a target at least 44px high, well above the 24px minimum.
- 1.1.1 Non-text Content
- Each icon button has a text name. The name also appears as a caption on the scene when the button has keyboard focus or the pointer is over it.
- 1.4.11 Non-text Contrast
- Icons are white on a dark panel, and the focus outline on them is white with a dark edge, so both stay visible over any part of the scene.
Limitations
- This is a flat-screen web page, not a headset experience. The keyboard stands in for controllers, switches and other inputs, and the page buttons stand in for an accessibility layer that most XR platforms do not offer yet.
- It shows one possible technique for each criterion. It is not the only way to meet them, and it is not evidence that any product conforms.
- The experimental criteria are still in draft and may change.
- Open question for the working group: is turning the view on focus a change of view, or a change of context? This demo treats it as a change of view and lets you turn it off.