Selectmenu: Copy element title and accesskey attributes for list items

Fixes #10435