aria-haspopup might not do what you think it does

To kick off my new article series, #WebAccessibilityFails, I decided to focus on a bad practice I often see in main navigations during accessibility audits. Developers like to put aria-haspopup on buttons inside main navigations to indicate that the buttons control subnavigations. <nav> <ul> <li> <button aria-haspopup="menu">Products</button> <ul> <li><a href="#">Wood</a></li> <li><a…