{"uid":"cap_XuQz0IRHNxzPKfJnnOAhA","slug":"saylor-innovations-accessible-tap-target-checker-071d35bd","name":"Saylor Innovations Accessible Tap Target Checker","description":"Tap target size checker from width, height and spacing - WCAG threshold flags","url":"https://saylorinnovations.com/api/accessibility/tap-target?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","POST","PUT","PATCH","DELETE","HEAD"],"type":"string"},"queryParams":{"type":"object","required":["width_px","height_px","spacing_px"],"properties":{"width_px":{"type":"string","description":"required positive target width in CSS pixels (query)"},"height_px":{"type":"string","description":"required positive target height in CSS pixels (query)"},"spacing_px":{"type":"string","description":"required non-negative spacing to nearest adjacent target in CSS pixels (query)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["width_px","height_px","spacing_px","short_side_px","wcag_aa_target_size","enhanced_target_size","scope_note"],"properties":{"formula":{"type":"string","description":"Formula used for the calculation"},"width_px":{"type":"number","description":"Width px"},"height_px":{"type":"number","description":"Height px"},"scope_note":{"type":"string","description":"What this data covers and what it leaves out"},"spacing_px":{"type":"number","description":"Spacing px"},"short_side_px":{"type":"number","description":"Short side px"},"wcag_aa_target_size":{"type":"boolean","description":"Wcag aa target size"},"enhanced_target_size":{"type":"boolean","description":"Enhanced target size"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_mvnmcVnJuNaARKPiHSzgn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks whether a UI tap target's width, height, and spacing meet WCAG AA and enhanced accessibility thresholds","exampleAgentPrompt":"Can you check if a tap target that is 36 pixels wide, 40 pixels tall, and has 6 pixels of spacing to the nearest adjacent element passes WCAG AA and enhanced target size requirements?","exampleUseCases":[{"title":"Mobile button accessibility audit","prompt":"I'm auditing my mobile app's primary action button — it's 44 pixels wide, 44 pixels tall, and has 8 pixels of spacing to the nearest element. Does it pass WCAG AA and enhanced target size standards?"},{"title":"Icon-only button compliance check","prompt":"My icon-only navigation button is only 32 pixels wide by 32 pixels tall, but it has 12 pixels of spacing around it. Does that spacing help it pass any WCAG tap target threshold?"},{"title":"Form checkbox accessibility validation","prompt":"I have a checkbox input that's 20 pixels wide, 20 pixels tall, with 14 pixels between it and the next field. Can you tell me whether it meets WCAG AA minimum tap target size or the enhanced criterion?"}],"resultDescription":"Returns a JSON object containing the input dimensions (width_px, height_px, spacing_px), the computed short_side_px, boolean flags for wcag_aa_target_size and enhanced_target_size compliance, the formula applied in the calculation, and a scope_note explaining what the result covers and excludes.","failureModes":["Missing required query parameters (width_px, height_px, or spacing_px) results in an error response","Non-numeric or negative values for width or height may be rejected","Negative spacing_px values are invalid and will likely cause an error","Payment not included or invalid x402 payment header results in 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need a quick, programmatic WCAG tap target size check (AA or enhanced) based purely on pixel dimensions and spacing — ideal for automated accessibility audits, CI/CD pipelines, or design review tools where you already have the CSS pixel measurements and need a standards-grounded pass/fail result without running a full browser-based audit.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T12:47:44.163Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-accessible-tap-target-checker-071d35bd"}