Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH - Theme improvements to the PyData Sphinx theme (colour and focus) #20

Closed
6 tasks done
Tracked by #21
trallard opened this issue Jan 11, 2023 · 0 comments
Closed
6 tasks done
Tracked by #21
Assignees
Labels
area: accessibility ♿ area: PyData-Sphinx mission: access-centred ♿ Access-centred practices work stream mission: web themes 💻 Improvements to documentation themes team: quansight-labs type: task 📌 A concrete, well-scoped item
Milestone

Comments

@trallard
Copy link
Member

trallard commented Jan 11, 2023

📝 Summary

Related to #8

  • A colour contrast check was done by @scmmmh and determined it was best to work on a cohesive colour system for the theme, which will lead to:
    • Adaptable theming - dark and light
    • Improved maintainability
    • Better out-of-the-box colour contrast conformance (Meet WCAG SC 1.4.3 - contrast AA)
  • While working on the colour system, additional design and UX interaction had been done to help with other WCAG criteria

Acceptance Criteria

  • WCAG SC 1.4.3 - text contrast AA
    • 4.5:1 ratio for text and background (text < 18pt or bold text < 14pt)
    • 3:1 ratio for text and background (text >= 18pt or bold text =< 14pt)
  • Focus visible criteria - buttons, links, and navigation components meet at least WCAG 2.1 (designs account for changes in WCAG 2.2
  • WCAG SC 1.4.11 - non-text contrast AA need a minimum 3:1 contrast ratio with adjacent colours
    • link underline
    • focus styles
    • buttons and badges
    • icons
    • dropdowns
  • WCAG SC 1.4.1 - use of colour
    • Color is not used as the only visual means of conveying information, indicating an action, prompting a response, or distinguishing a visual element

Tasks

  1. area: PyData-Sphinx area: accessibility ♿ team: quansight-labs type: task 📌
    trallard
  2. 2 of 2
    area: PyData-Sphinx area: accessibility ♿ mission: access-centred ♿ team: quansight-labs type: enhancement 💅🏼
    trallard
  3. 15 of 18
    area: PyData-Sphinx area: UI/UX 🎨 area: accessibility ♿ mission: access-centred ♿
    smeragoel trallard
  4. area: accessibility ♿
    smeragoel

🔗 Additional links

@trallard trallard added type: task 📌 A concrete, well-scoped item mission: web themes 💻 Improvements to documentation themes mission: access-centred ♿ Access-centred practices work stream area: accessibility ♿ team: quansight-labs area: PyData-Sphinx labels Jan 11, 2023
@trallard trallard added this to the 12 months milestone Jan 11, 2023
@trallard trallard self-assigned this Jan 11, 2023
@trallard trallard moved this from 📬 TODO to 🏗 In progress in czi-scientific-python 🐍 Jan 11, 2023
@trallard trallard moved this from 🏗 In progress to 📬 TODO in czi-scientific-python 🐍 Sep 10, 2024
@github-project-automation github-project-automation bot moved this from 📬 TODO to 💪🏾 Done in czi-scientific-python 🐍 Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: accessibility ♿ area: PyData-Sphinx mission: access-centred ♿ Access-centred practices work stream mission: web themes 💻 Improvements to documentation themes team: quansight-labs type: task 📌 A concrete, well-scoped item
Projects
Archived in project
Development

No branches or pull requests

1 participant