From 8a3f0a6ebcd1585b40ae19fdab8e9f549dad4872 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Adri=C3=A1n=20Oliva?= <adrian.oliva@cimat.mx>
Date: Fri, 19 May 2023 15:36:41 -0600
Subject: Deleted most of aria labels.

---
 src/ToDo.jsx | 15 ++++-----------
 1 file changed, 4 insertions(+), 11 deletions(-)

(limited to 'src/ToDo.jsx')

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">&times;</span>
+                                <span>&times;</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">&times;</span>
+                                <span>&times;</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)
-- 
cgit v1.2.3

