I had these same exact issues too, and in my case, downgrading to Drush 11 didn't help. After trial and error, it turns out that this line in my composer.json
was the culprit:
"name": "drupal/drupal"
I guess Drush assumes you're in webroot if the composer.json
is exists and has that project name. Changing the project name to anything else addressed the issue for me on D10.
Created a new patch for this, heavily based on #12 's fixes, with the addition of a `role="button"` within the element (per our accessibility testing). I had issues applying the previous patch as well, so hoping this one gets applied correctly through composer.
I've created a new patch based on bgilhome's work on the original patch. This new patch should be compatible with the 4.1.x branch (I had issues with composer when trying to apply the original patch on a 4.0 or above version). Please review
I've attached a patch for this issue (I didn't see it fixed on the latest dev branch based on my testing). Please review.
a_handan β created an issue.