Selectmenu: Copy element title and accesskey attributes

Canges for #1034 

Question: what about attributes for list items?
Good question. I've stolen this from the autocomplete test suite.