Closed vanch3d closed 11 years ago
Table has been removed from latest version but issue will occur in the other tables in the system
A simple fix to the lib will solve it but has to be made directly into the code:
_fnBindAction = function( n, oData, fn ) { $(n) .bind( 'click.DT', oData, function (e) { //NVL: DO NOT REMOVE FOCUS //n.blur(); // Remove focus outline for mouse users fn(e); } ) .bind( 'keydown.DT', oData, function (e){ //NVL: changed from keypress to keydown if ( e.which === 13 ) { fn(e); } } ) .bind( 'selectstart.DT', function () { /* Take the brutal approach to cancelling text selection */ return false; } ); };
On ‘Your Draft : Key Words & Key Phrases’ the table columns cannot be sorted using the keyboard: the focus lands on the buttons, but pressing ‘enter’ does not activate the buttons. (Note the buttons can be operated with the screenreader.)
On Your Draft : Key Words & Key Phrases, after operating the table sorting buttons the focus returns to the top of the page. If possible enable focus to remain on the button, or at least within the table. High priority.