Skip to content

[4.0] Active tab#24702

Merged
wilsonge merged 2 commits intojoomla:4.0-devfrom
brianteeman:active_tab
Apr 23, 2019
Merged

[4.0] Active tab#24702
wilsonge merged 2 commits intojoomla:4.0-devfrom
brianteeman:active_tab

Conversation

@brianteeman
Copy link
Contributor

This is a little hard to test. You must always be testing by opening a module - refresh doesnt work

Step 1 open a module (make sure it opened on the first tab - if not move to first tab, close the module and start again)
Step 2 view source and locate the code shown in the image below

You will see that

  1. all the <section have aria-hidden=true
  2. the first has class="active" and the rest have an empty class
    image

Step 3 close the module and apply the patch and repeat step 1 and 2
Now You will see that
image

  1. the first <section has an attribute of "active" and the rest do not
  2. all but the first <section have aria-hidden=true
  3. none of the <section have a class

This is a little hard to test.

Step 1 open a module (make sure it opened on the first tab - if not move to first tab, close the module and start again)
Step 2 view source and locate the code shown in the image below
You will see that
1. all the <section have aria-hidden=true
2. the first has class="active" and the rest have an empty class
Step 3 close the module and apply the patch and locate the code shown in the image below
You will see that
1. the first <section has an attribute of "active" and the rest do not
2. all but the first <section have aria-hidden=true
3. none of the <section have a class
Co-Authored-By: brianteeman <brian@teeman.net>
@wilsonge wilsonge merged commit 16ddce1 into joomla:4.0-dev Apr 23, 2019
@wilsonge
Copy link
Contributor

Check with dimitris and he confirmed this is correct. Thanks!

@wilsonge wilsonge added this to the Joomla 4.0 milestone Apr 23, 2019
@brianteeman
Copy link
Contributor Author

/me wipes brow

@brianteeman brianteeman deleted the active_tab branch April 23, 2019 14:59
fancyFranci pushed a commit to fancyFranci/joomla-cms that referenced this pull request Apr 24, 2019
This is a little hard to test.

Step 1 open a module (make sure it opened on the first tab - if not move to first tab, close the module and start again)
Step 2 view source and locate the code shown in the image below
You will see that
1. all the <section have aria-hidden=true
2. the first has class="active" and the rest have an empty class
Step 3 close the module and apply the patch and locate the code shown in the image below
You will see that
1. the first <section has an attribute of "active" and the rest do not
2. all but the first <section have aria-hidden=true
3. none of the <section have a class
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants