refactor(react-doctor): raise score from 79 to 90

This commit is contained in:
plebeius
2026-02-24 15:15:44 +08:00
parent 5bd1dc0e71
commit e51f5b968c
36 changed files with 2372 additions and 1030 deletions
@@ -15,7 +15,18 @@ const CreateBoardModal = () => {
};
return (
<div className={styles.backdrop} onClick={handleBackdropClick}>
<div
className={styles.backdrop}
role='button'
tabIndex={0}
onKeyDown={(e) => {
if (e.key === 'Enter' || e.key === ' ') {
e.preventDefault();
closeCreateBoardModal();
}
}}
onClick={handleBackdropClick}
>
<div className={styles.createBoardDialog}>
<div className={styles.hd}>
<h2>Create a Board</h2>