![javascript - Selenium / Java : How to write element locator for an element with aria-selected=false - Stack Overflow javascript - Selenium / Java : How to write element locator for an element with aria-selected=false - Stack Overflow](https://i.stack.imgur.com/mALGT.png)
javascript - Selenium / Java : How to write element locator for an element with aria-selected=false - Stack Overflow
![Adrian Roselli (parody) 🗯 on Twitter: "Minus script, an accessible disclosure widget can fit in a tweet: <button type="button" id="B1" aria-expanded="false" aria-controls="D1"> Trigger </button> <div id="D1"> Content </div> ... Adrian Roselli (parody) 🗯 on Twitter: "Minus script, an accessible disclosure widget can fit in a tweet: <button type="button" id="B1" aria-expanded="false" aria-controls="D1"> Trigger </button> <div id="D1"> Content </div> ...](https://pbs.twimg.com/ext_tw_video_thumb/1431295349239451660/pu/img/dfTDa23My73NYnIA.jpg)
Adrian Roselli (parody) 🗯 on Twitter: "Minus script, an accessible disclosure widget can fit in a tweet: <button type="button" id="B1" aria-expanded="false" aria-controls="D1"> Trigger </button> <div id="D1"> Content </div> ...
![cross-referencing IDREFs on aria-labelledby and aria-controls + button with both aria-haspopup and aria-expanded attributes · Issue #476 · w3c/aria-practices · GitHub cross-referencing IDREFs on aria-labelledby and aria-controls + button with both aria-haspopup and aria-expanded attributes · Issue #476 · w3c/aria-practices · GitHub](https://user-images.githubusercontent.com/7377040/31452810-105f6bdc-ae7e-11e7-85db-3a946d2022d7.png)