diff options
author | Adrián Oliva <adrian.oliva@cimat.mx> | 2023-05-19 15:36:41 -0600 |
---|---|---|
committer | Adrián Oliva <adrian.oliva@cimat.mx> | 2023-05-19 15:36:41 -0600 |
commit | 8a3f0a6ebcd1585b40ae19fdab8e9f549dad4872 (patch) | |
tree | b673f4f4528fcdba19cc3497522b665ef5744184 | |
parent | af3932c16b487e1f9b4975dacb8fc63d43f0d571 (diff) | |
download | ToDo-App-FE-8a3f0a6ebcd1585b40ae19fdab8e9f549dad4872.tar.gz ToDo-App-FE-8a3f0a6ebcd1585b40ae19fdab8e9f549dad4872.zip |
Deleted most of aria labels.
-rw-r--r-- | src/ToDo.jsx | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/src/ToDo.jsx b/src/ToDo.jsx index ecc074b..522d3f7 100644 --- a/src/ToDo.jsx +++ b/src/ToDo.jsx @@ -45,8 +45,6 @@ export function NewToDo() { id="NewToDo" tabIndex="-1" role="dialog" - aria-labelledby="New To Do Window" - aria-hidden="true" > <div className="modal-dialog modal-dialog-centered" @@ -61,10 +59,10 @@ export function NewToDo() { type="button" className="close" data-bs-dismiss="modal" - aria-label="Close" + aria-label="Close new to do window" onClick={handle_exit_modal} > - <span aria-hidden="true">×</span> + <span>×</span> </button> </div> <div className="modal-body"> @@ -125,7 +123,6 @@ export function NewToDo() { <select className="form-select" id="new-todo-priority" - aria-label="Floating label select example" onChange={(e) => set_new_priority(e.target.value) } @@ -251,7 +248,6 @@ export function ListToDos() { <div className="btn-group btn-group-sm" role="group" - aria-label="Basic example" > <button type="button" @@ -292,8 +288,6 @@ export function ListToDos() { id="EditToDo" tabIndex="-1" role="dialog" - aria-labelledby="New To Do Window" - aria-hidden="true" > <div className="modal-dialog modal-dialog-centered" @@ -306,10 +300,10 @@ export function ListToDos() { type="button" className="close" data-bs-dismiss="modal" - aria-label="Close" + aria-label="Close edit window" onClick={handle_exit_modal} > - <span aria-hidden="true">×</span> + <span>×</span> </button> </div> <div className="modal-body"> @@ -373,7 +367,6 @@ export function ListToDos() { <select className="form-select" id="edit-todo-priority" - aria-label="Floating label select example" value={edit_priority} onChange={(e) => set_edit_priority(e.target.value) |