Evaluate Typography Accessibility
evaluate_typographyEvaluates typography elements against a principled accessibility rubric.
COST: $0.05 USDC via x402 on Base-compatible EVM network per call.
Goes beyond what axe/Lighthouse/WAVE can check — evaluates design judgment, not just numeric compliance. Catches issues like:
Contrast that passes WCAG 4.5:1 but fails visually due to thin font weight
Body text that meets minimum size requirements but is still too small for comfortable reading
Line heights that technically comply but impede readability for dyslexic users
Extended all-caps or italic text that passes all AA criteria but impairs reading
Text on gradient/image backgrounds where scanner sampling is unreliable
Heading sizes that are technically correct but visually indistinct from body
Args:
elements: Array of 1–50 typography element objects with font/color properties
screen_name: Optional label for the evaluation report
Each element requires: element_type, font_size, font_weight, line_height, color_hex, background_color_hex.
Returns: Structured report with:
Per-element scores (0–100)
Specific issues with severity (critical/major/minor)
WCAG references and what automated tools miss
Concrete fix recommendations
Overall score and verdict (pass/needs_work/fail)
Top issues sorted by severity
Example use: Extract text layer properties from Figma using get_design_context, pass the typography properties to this tool for evaluation before shipping.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| elements | Yes | Array of typography elements to evaluate | |
| screen_name | No | Name of the screen or component being evaluated |