View conformance
A view is checked in a product context chosen when the product is built. The contexts are desktop, web, mobile web, phone, iPad web, and iPad app. iPad web is a web page on a larger touch surface. An iPad app is a separate context from a web page.
The checker is dev-centr/view-check. It reads a snapshot of the view and the context name. The contexts it selects today are web, mobile web, and iPad web.
view-check --profile mobile-web --snapshot layout.json
Text stays off the edge
On a phone web page, body text stays 16px from the edge. On iPad web the gap is 20px. A rendered view that breaks the gap fails. A source file that would break it, before the view is drawn, is a warning.
Touching the edge is allowed when that choice is written down for the view. The record names the rule, the node, and the reason. A full-bleed title can say so. That record belongs to the view.
A profile can also say the rule does not apply to a product context at all. That is a different fact. It is not a note on one view.
Controls are large enough to hit
A control meets a minimum target size.
The product context chooses the number.
Phone web and iPad web in the library use 44px.
The checker reads an existing axe target-size result.
It does not measure the control a second time, and it does not write a second WCAG.