Skip to content
ShopifyRule: input-button-name•Reviewed Oct 2026

Ensure input buttons have discernible text values in Shopify

Inputs with `type="button"`, `type="submit"`, or `type="reset"` must have a non-empty `value` attribute.

What's wrong

An input button with empty `value=""` has no readable label for assistive technologies.

Who it affects

Screen reader users cannot tell what action submitting the form will trigger.

How to fix on Shopify

Provide a descriptive `value="{{ 'sections.cart.checkout' | t }}"`.

Code example

Problematic Code
LIQUID
<input type="submit" value="">
Recommended Accessible Code
LIQUID
<input type="submit" value="{{ 'sections.cart.checkout' | t }}" class="btn-primary">

How to check your fix

Verify `value` attribute is non-empty and describes the submission result.

Check if your site has this issue

Scan any public store page free against WCAG 2.2 AA in 30 seconds.

Your session has ended

Sign in again to carry on. Anything you typed on this page is kept.

Signed in another way? Use another method (opens a new tab)