Shouldn't we suggest unordered lists (ul li) for dropdown menus?
I've noticed that BS4 has stopped suggesting unordered lists for dropdown menus. I'm wondering why since lists provide semantics in the HTML (think of accessibility and unstyled content). Now the code samples only use div
s:
- BS4 dropdown-menu example (with divs and classes)
- BS3 dropdown-menu example (with ul li)
Interestingly enough, the result is the same in BS4 when using lists. Is there a reason for removing list markup from the code samples? Would it make sense to put this back in?