Creating access for everyone, everywhere requires attention to accessibility attributes, best practices, and requirements. Find accessibility guidance below.


Note: Components in each code library are implemented differently (especially Flutter). Many of the behaviors and attributes described are already handled for you as part of our components. Product teams are responsible for ensuring their apps meet all current requirements. Some of the information below may not apply to your implementation.

Best practices

Ensure the following best practices are met when implementing this component during development.

  • Ensure icon-only buttons have an for screen readers.
  • Don’t put block level elements such as divs inside buttons. Only use spans, images, svgs, and text inside buttons.
  • Ensure all buttons meet touch target requirements, especially on mobile devices.
  • Use attributes or when appropriate for buttons used inside forms.

Keyboard controls

Keyboard actions and their corresponding behaviors for buttons
Key Behavior
Enter or SpacePrompts the action associated with the <button>. If you’re using , make sure these key commands work.

VGAR (internal only)

Find links to the Visa Global Accessibility Requirements (VGAR) for this component.