Accessibility
- The picker is a real
<button>, reached with Tab and activated with Enter or Space, and it opens the browser's own file dialog. Its name islabelwhen empty andreplace-labelwhen it has an image. - The remove control is a second button next to it, never inside it. It is reached with Tab after the picker, it is shown whenever the picker has focus as well as on hover, and its name comes from
remove-label. Pressing it never opens the file dialog. - With
remove-disabled, the button is natively disabled: it leaves the tab order and is announced as unavailable. altdescribes the image. Leave it empty when the image is decoration beside a visible name.- While
loading, the picker isaria-busyand natively disabled. - Dragging is an extra way in, never the only one: everything it does is available by keyboard.