mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-08 08:28:15 -04:00
Merge pull request #3093 from alphagov/fix-aria-on-fullscreen-table
Change method of hiding extra table layer
This commit is contained in:
@@ -44,7 +44,7 @@
|
|||||||
.clone()
|
.clone()
|
||||||
.addClass('fullscreen-fixed-table')
|
.addClass('fullscreen-fixed-table')
|
||||||
.removeClass('fullscreen-scrollable-table')
|
.removeClass('fullscreen-scrollable-table')
|
||||||
.attr('role', 'presentation')
|
.attr('aria-hidden', true)
|
||||||
)
|
)
|
||||||
.append(
|
.append(
|
||||||
'<div class="fullscreen-right-shadow" />'
|
'<div class="fullscreen-right-shadow" />'
|
||||||
|
|||||||
@@ -123,7 +123,7 @@ describe('FullscreenTable', () => {
|
|||||||
|
|
||||||
expect(tableFrame).not.toBeNull();
|
expect(tableFrame).not.toBeNull();
|
||||||
expect(numberColumnFrame).not.toBeNull();
|
expect(numberColumnFrame).not.toBeNull();
|
||||||
expect(numberColumnFrame.getAttribute('role')).toEqual('presentation');
|
expect(numberColumnFrame.getAttribute('aria-hidden')).toEqual('true');
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user