I maintain a J2EE app written with the STRUTS framework. Recently my company upgraded Internet Explorer and the application now loses focus on the STRUTS Velocity menu tabs in the application.
I am not experienced with STRUTS, but googling is not giving me any options.
In IE8, a user would log into the application and the application tabs would automatically focus on the leftmost tab, and if there are sub tabs, the leftmost sub tab would be in focus. In IE11, this doesn't happen so the user gets confused when they can't access dialog boxes until they click on the tab. Clicking on the tab is not an acceptible workaround or using a different browser.
How do I force the leftmost tab in focus in Struts? Is there an undocumented option for the "Item" element in the config.xml? Or can I do this with CSS?
Thanks,
Tim
I went into the menu building JavaScript and noticed that the previous developer had missing ";". I guess IE8 is forgiving with missing ";" than IE11.
Anyhow, problem solved.
Tim
Related
I'm having an issue with Windows Narrator on Edge where if I have a combo box (dropdown) inside a panel (modal), opening combo box starts announcing title of the tab. This issue is specific to Edge and Narrator. NVDA on Edge or Narrator on Chrome doesn't seem to recreate the issue.
My guess was to check if role attribute is causing the issue, and I'm assuming here that it does. When I set panel's role attribute to anything other than dialog or alertdialog, the issue seems to be fixed, although other browsers break where they do not start reading panel after opening it.
I'm sure this is not the solution.
Codepen link: https://codepen.io/lalit-umbarkar-msft/pen/rNWoYze
Background: for Windows users on Chrome and IE, dropdowns that reload or change the page are no good for accessibility. As soon as a user presses the down arrow button, the page reloads. This means that the user can only access the very first menu option. Here is an example: http://html.cita.illinois.edu/script/onchange/onchange-example.php
This is covered in the WCAG rule:
“Changing the setting of any user interface component does not automatically cause a change of context unless the user has been advised of the behavior before using the component. (Level A)”
EXCEPT the user can very easily open up the dropdown and explore all the options without triggering an onchange event. The user does this with a space bar press. This is a very commonly known keyboard trick that I've seen all tested users to already be aware of or be able to figure out quickly.
In my system, we are using a dropdown for pagination in long directories.
EG: "you are on page [1^] of 16" (with the [1^] being a browser default dropdown menu). The designers will not allow any kind of visual [go] button. This happens across thousands of pages, javascript fixes I've seen need to account for every dropdown, and this is impossible on our case.
Using space bar, the user can see all the options and make a selection from anywhere on the list using only the keyboard. So why are dropdown page menus that automatically reload onchange still considered inaccessible? And would they be considered accessible if we included screen-reader only text which said "press space bar to open this menu, making a selection will load your next page"
Well except that in Firefox, the keyboard command is actually F4, you are correct - this is not a WCAG 2 violation but rather a best practice
Here is a page where you can test this: http://dylanb.github.io/onchange_select.html
I've been working on this project (website, ASP.NET, VB.NET, IE8 [no choice on that]) for almost 2 years with no problems with the back button. I use mostly SQLDataSources, GridViews, and DetailsViews. All of a sudden, two weeks ago, the browser's back button becomes grayed out when I click on a link or button; it seems to be happening to any buttons or links. And of course, it doesn't happen in Chrome. Too bad I can't change the browser the company defaults to.
Any ideas?
This has been bugging me for a while. In Xcode 4, sometimes this menu item is enabled, sometimes it is disabled. I cannot figure out why it is ever disabled, and there seems to be nothing at all on Google about this.
I have this same problem. If I click on the "Show assistant editor" button (the middle button in the list of Editor buttons located in the upper-right hand corner) and then back again to "Standard Editor" (the left-most button in the list of Editor buttons) then the "Find selected text in workspace..." function is enabled. But I have to do this often, but only in the projects I created before Xcode 4. So I think some setting in the project was not created properly when Xcode 4 converted it over.
I have found if you just right click on the word, without selecting it prior, then the menu selection will be enabled. This seems to be more prevalent in xCode 4.4.1. I have also noticed that when you select other words will "trigger" the menu to enable also. Hope this helps.
I'm having a problem with the AjaxControlToolkit TabContainer Control.
I apologize in advance for not submitting any code, but since the code is company property, i have no authority to post it anywhere.
The problem is as follows:
I have a TabContainer with 10 tabs, some of which contain user controls, some pure html and .net markup. When i set the tab number 5 to visible=false, something weird starts happening. Tab 6 operates as it should, but tab 7 to 10 show not only the content of their own tab, but also the tab that comes before them. I.e.:
when selecting the tab 7, it shows the content of tab 6 and tab 7, when selecting tab 7 it shows the content of tab 7 and tab 8 etc. the content of the previous tab appears a second later, and i am unsure as to what may be causing this behavior. The temporary solution is to place the tabs that needs to be hidden after the tabs that need to be shown all the time, but a situation has arisen where there is need to dynamically hide tabs depending on user permissions.
If anyone has any ideas, similar experiences, and anything else, please help. We are using AjaxControlToolkit 3.5.50401 with .NET 3.5.
There is issues when playing with the visible property of the tabPanels.
Look at this question that seem to be a very similar behavior.
Ajax Tookit TabPanel Invisible Tag Bug