From: Laussel Loïc Date: Sat, 28 Mar 2020 07:51:24 +0000 (+0100) Subject: v5 tabs - accessibility issue when using ul/li semantic X-Git-Tag: v5.0.0-alpha1~298 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ce29d75f38f2c81f57e8a6cf14c510655e2e316;p=thirdparty%2Fbootstrap.git v5 tabs - accessibility issue when using ul/li semantic Add aria-role presentation on li element when ul element has role tablist and remove dropdown from visual tests as they've been removed from doc --- diff --git a/js/tests/unit/tab.spec.js b/js/tests/unit/tab.spec.js index 3e45f4d03e..70aa8eb336 100644 --- a/js/tests/unit/tab.spec.js +++ b/js/tests/unit/tab.spec.js @@ -129,8 +129,8 @@ describe('Tab', () => { it('should not fire shown when tab is already active', done => { fixtureEl.innerHTML = [ '', '
', '
', @@ -155,8 +155,8 @@ describe('Tab', () => { it('should not fire shown when tab is disabled', done => { fixtureEl.innerHTML = [ '', '
', '
', @@ -181,8 +181,8 @@ describe('Tab', () => { it('show and shown events should reference correct relatedTarget', done => { fixtureEl.innerHTML = [ '', '
', '
', @@ -275,17 +275,17 @@ describe('Tab', () => { it('should handle removed tabs', done => { fixtureEl.innerHTML = [ '