Selectmenu: Copy element title and accesskey attributes

Fixes #10435