W0001 Pressable view that cannot be reached
Why
A view is not focusable and has no role, so someone using a keyboard, a switch or a screen reader cannot find or press it. A button is focusable and is announced as one.
How to fix it
Use a <button>, which is both, or give the view a role and a tab-stop. The editor offers to change the view into a button where the button accepts every attribute; check the layout afterwards, since a button centres what it holds. duolith lint --fix leaves it alone.
In a terminal
duolith explain W0001