General
- Ensure sufficient colour contrast between button text and background
- Button labels must clearly describe the action and what will be created
- Do not rely on the icon alone to convey meaning — the text label must be descriptive
- Keep labels concise and action-oriented
Web
Semantic markup
- Use the <button> element for placeholder buttons
- Never use <div> or <span> elements styled to look like buttons
Accessible labelling
- The visible text label serves as the accessible name
- Ensure the label clearly describes both the action and the item being created (e.g., "Add new card", not just "Add")
- Add aria-hidden="true" to the icon, so screen readers focus only on the text label
Keyboard navigation
- Placeholder buttons must be focusable using the Tab key
- Enter or Space must activate the button
- Focus indicators must be clearly visible
Touch targets
- Placeholder buttons must have a minimum touch target size of 44px × 44px to meet WCAG 2.2 requirements
- Ensure adequate spacing between the placeholder button and other interactive elements
React Native
- Use accessibilityRole="button" to identify the element as a button
- Provide accessibilityLabel with a clear, descriptive action (e.g., "Add new card")
- Icons should be hidden from assistive technologies using appropriate properties
- Use accessibilityState={{ disabled: true }} for disabled placeholder buttons if applicable