Keyboard shortcuts and accessibility

This commit is contained in:
Scott Nonnenberg 2019-11-07 13:36:16 -08:00
parent 8590a047c7
commit 20a892247f
87 changed files with 3652 additions and 711 deletions

View file

@ -50,8 +50,7 @@ export class AttachmentList extends React.Component<Props> {
<div className="module-attachments">
{attachments.length > 1 ? (
<div className="module-attachments__header">
<div
role="button"
<button
onClick={onClose}
className="module-attachments__close-button"
/>
@ -105,7 +104,10 @@ export class AttachmentList extends React.Component<Props> {
);
})}
{allVisualAttachments ? (
<StagedPlaceholderAttachment onClick={onAddAttachment} />
<StagedPlaceholderAttachment
onClick={onAddAttachment}
i18n={i18n}
/>
) : null}
</div>
</div>