resolved deprecated function call onkeypress
add legacy method name & accessibility fix to resolve tab ordering
Merge pull request #1345 from aghouseh/select-attribute-type-form-js-error

resolved deprecated function call onkeypress