Do you want to: Suggest a feature
For feature suggestions, describe the result you would like to achieve in detail.
Allow Configurable Track Changes User Colors with Accessibility Validation
Request to enhance the existing OnlyOffice Docs API to allow setting and updating Track Changes user colors programmatically, with built-in accessibility (WCAG contrast) validation.
Currently, Track Changes assigns user colors that may not meet accessibility contrast standards. Some colors (especially lighter tones) are difficult to see against document backgrounds, creating usability and accessibility challenges for low-vision users and those requiring higher contrast.
There is no API-level control to:
- Set or update a user’s Track Changes color
- Validate color contrast
- Enforce accessible color choices at a tenant or document level
Proposed Enhancement
Update the existing API to:
- Allow setting a specific color for a user’s tracked changes (via hex value).
- Optionally validate the color against WCAG 2.1 contrast standards.
- Return contrast ratio and pass/fail status in the API response.
- Optionally reject or auto-adjust colors that fail contrast validation.
Example (Conceptual)
Extend existing endpoint with fields such as:
color: "#RRGGBB"
validateContrast: true
Response includes:
contrastRatio
wcagLevel
effectiveColor (if auto-adjusted)
Why This Matters
- Improves accessibility compliance (WCAG AA/AAA).
- Supports customers with ADA / Section 508 requirements.
- Enables admins/integrators to enforce accessible color palettes.
- Reduces visibility-related support issues.
This enhancement would significantly improve the accessibility of collaborative editing without changing document content or core Track Changes functionality.
For bug reports, provide the steps to reproduce and if possible a minimal demo of the problem.
Document Server version:
Additional information:
Any relevant details about the situation. You can also attach images and videofile to the post (or to place them to external storage)