From 8fa1c01d110de97910649fe2bc2f634381616531 Mon Sep 17 00:00:00 2001 From: llj Date: Sun, 26 Sep 2021 17:58:13 +0800 Subject: [PATCH] [a11y] repo snapshot: added support for 'keyboard access' --- frontend/src/repo-snapshot.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/src/repo-snapshot.js b/frontend/src/repo-snapshot.js index 0a949a951e..642d1ff568 100644 --- a/frontend/src/repo-snapshot.js +++ b/frontend/src/repo-snapshot.js @@ -140,7 +140,7 @@ class RepoSnapshot extends React.Component {

(${commitTime})`}}>

- + {folderPath == '/' && ( @@ -279,21 +279,21 @@ class FolderItem extends React.Component { const { folderPath } = this.props; return item.type == 'dir' ? ( - + {gettext('Directory')} {item.name} - + ) : ( - + {gettext('File')} {item.name} {Utils.bytesToSize(item.size)} - +