Improve paragraph accessibility in limits reached modals #7161
Labels
team: webapp
Issue belongs to the WebApp team
type: improvement
Improves an existing feature or existing code
user experience
Problem to solve
Text accessibility in limits reached modals fails to pass WCAG AA for normal text which is the WCAG 2.0 level we're aiming for.
gitpod/components/dashboard/src/start/CreateWorkspace.tsx
Line 224 in c715b35
gitpod/components/dashboard/src/start/CreateWorkspace.tsx
Line 230 in c715b35
While the current
text-base
colors for the dark theme in most case passes WCAG AA for normal text when used with the default dark background, it fails when used inside a modal which is using a different background color (dark:bg-gray-900
).gitpod/components/dashboard/src/components/Modal.tsx
Line 53 in 0e03969
Proposal
Change the paragraph text color inside modals for the dark theme. 🌔
The following fix could suffice:
The text was updated successfully, but these errors were encountered: