1nwf / Produx-v2

tabIndex declared on a non-interactive element JS-0762
Performance
Minor
8 months ago2 years old
tabIndex should only be declared on interactive elements
 76              </div>
 77            </div>
 78            <ul
 79              tabIndex={0} 80              className="p-2 shadow mt-[-8px] dropdown-content bg-base-100 rounded-xl w-50"
 81            >
 82              <li
tabIndex should only be declared on interactive elements
 68            <div className="m-1 cursor-pointer">
 69              <div>
 70                <div
 71                  tabIndex={0} 72                  className="m-1 hover:bg-gray-300 p-0 md:p-2 rounded-box"
 73                >
 74                  <img src="/gearIcon.svg" className="h-5" />
tabIndex should only be declared on interactive elements
61                            </div>
62                        </div>
63                        <ul
64                            tabIndex={0}65                            className="p-2  shadow z-40 fixed right-1 md:right-auto md:relative dropdown-content bg-base-100 rounded-xl min-w-max text-left"
66                        >
67                            <li
tabIndex should only be declared on interactive elements
49                    <div className="fixed right-10  md:right-20 top-1 justify-center  cursor-pointer  dropdown">
50                        <div className="m-1 hover:bg-gray-300  rounded-box p-2 items-center  cursor-pointer  ">
51                            <div>
52                                <div tabIndex={0} className="flex items-center">53                                    <img
54                                        src={user ? user.pfp : ''}
55                                        className="rounded-box object-cover w-12 aspect-square"