Media slot

Keyboard

Press Enter or Space to select or remove a file. Your app connects the file picker and handles uploads and retries.

Semantics

Use aria-label, uploadLabel, errorMessage and removeLabel to describe each state and action.

Checklist

  • Give the file selection or replacement region an aria-label that explains its purpose.
  • Name the item in the remove button's label and move focus to the next action after removal.
  • Describe upload progress and errors in text. Make file selection and retry usable with the keyboard.

For contrast, zoom and screen reader checks, see the common accessibility checklist.