# Accessibility `email.sublime-syntax` is committed to providing an accessible, inclusive experience for all users and contributors, following [GitHub's accessibility best practices](https://accessibility.github.com/) and [WCAG 2.1](https://www.w3.org/TR/WCAG21/) principles wherever applicable to an editor syntax package and plugin. ## Accessibility in Sublime Text 4 - **Color Scheme & High-Contrast Independence**: All syntax rules use standard Sublime Text scope names rather than hardcoded foreground or background colors. Your chosen light, dark, high-contrast, or color-vision-friendly color scheme always controls contrast and legibility. - **Full Keyboard Operability**: Core navigation, folding, and inspection workflows are fully operable without a pointer: - Navigate message structure with `Goto Symbol` (`Cmd+R` / `Ctrl+R`) and across folders with `Goto Symbol in Project` (`Cmd+Shift+R` / `Ctrl+Shift+R`). - Fold and unfold headers, MIME parts, and Base64 blocks via Sublime Text's keyboard folding commands. - Toggle reply quoting and comments with `Cmd+/` / `Ctrl+/`. - Run all decoding and attachment export actions (`Email: Decode Base64`, `Email: Decode Encoded-Words`, `Email: Decode Quoted-Printable`, `Email: Export Attachment to File`) directly from the Command Palette (`Cmd+Shift+P` / `Ctrl+Shift+P`). - **No Motion or Flashing**: Highlighting is static and popups appear only on explicit user interaction, with no animations or auto-refreshing elements. - **Safe, Readable Popup Content**: Hover previews escape raw HTML safely, use your active theme's CSS variables (`var(--bluish)`), and respect viewport bounds (`max_width` / `max_height`) so content does not overflow smaller displays or zoomed layouts. ## Documentation Accessibility - Repository documentation is written in clean, semantic Markdown with logical heading hierarchies (`#`, `##`, `###`) for screen readers and keyboard navigation. - Images and SVG assets include descriptive `alt` text and accessible `` / `aria-label` attributes. ## Known Limitations - **Hover Previews**: Inline image previews, Base64 text previews, and Local/UTC timestamp popups are triggered by Sublime Text's `on_hover` pointer event. Keyboard-only users can still decode Base64 blocks, decode RFC 2047 headers, and export attachments via the Command Palette. - **Editor Host Accessibility**: Screen reader support, focus management, and OS-level accessibility APIs are controlled by Sublime Text itself rather than individual packages. ## Feedback & Reporting Accessibility Issues If you encounter an accessibility barrier—such as poor contrast in hover popups, missing keyboard alternatives, unclear documentation structure, or missing alt text—please let us know: - Open an issue using our [Bug report](https://github.com/mariozaizar/email.sublime-syntax/issues/new?template=bug_report.yml) or [Feature request](https://github.com/mariozaizar/email.sublime-syntax/issues/new?template=feature_request.yml) form. - Include your operating system, Sublime Text build, active color scheme, and any assistive technology you use so we can reproduce and address the issue accurately.