You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For accessibility reasons, disabled links (spans) in the pagination footer should not be focusable, either via clicking with the mouse or tabbing to them. The "1-10 of 100 results" region shouldn't be focusable either. It seems this can be fixed simply by not setting tabIndex on these spans.
While there's surely a better workaround, I can "fix" grids with the following JS:
GridUtils.fixA11yBugs=function(grid){// Make the "x-y of z results" text non-focusablequery('.dgrid-status',grid.domNode).forEach(function(elem){elem.removeAttribute('tabindex');});// Make disabled pagination links non-focusableaspect.after(grid,'_updateNavigation',function(){vardisabledNavSpans=query('.dgrid-page-disabled',grid.domNode);disabledNavSpans.forEach(function(elem){elem.removeAttribute('tabindex');});});};
The text was updated successfully, but these errors were encountered:
Note that the .dgrid-status section might be focusable specifically for screen readers - so the user is read what region of the results they're looking at. So that one arguably shouldn't be fixed (I'm no expert in this area, not sure). But the disabled pagination links I believe shouldn't be focusable.
For accessibility reasons, disabled links (spans) in the pagination footer should not be focusable, either via clicking with the mouse or tabbing to them. The "1-10 of 100 results" region shouldn't be focusable either. It seems this can be fixed simply by not setting tabIndex on these spans.
While there's surely a better workaround, I can "fix" grids with the following JS:
The text was updated successfully, but these errors were encountered: