Add ability to make an accelname required.
This will help test
legacy/trac#30866 (moved)
.