POST
|
I was never able to figure out how to receive the coded domain value using the Identify Task. But I found a little work around (hack) to get to the information. I run the Identify Task on the item that gets selected. I grab the OBJECTID returned from that task and then run a Query Task on the OBJECTID. The Query Task will return the coded domain value instead of the description. identifyTask.execute(identifyParams, identifyResults); function identifyResults(results) { var ObjectID = idResults[0].feature.attributes.OBJECTID; query.where = "OBJECTID = " + ObjectID; query.returnGeometry = true; queryTask.execute(query, queryResults); } It's not the best solution, but it works.
... View more
07-16-2015
10:25 AM
|
0
|
2
|
1129
|
POST
|
I also tried ArcMap Options Tables. Still no luck getting the coded value.
... View more
07-14-2015
09:16 AM
|
0
|
0
|
1129
|
POST
|
When I use the Identify Task on a layer with a coded domain, it returns the coded domain description and not the value. How can I receive the coded value? For example. In our zoning layer... if zoning of SF1 is identified, the callback returns Single Family District... but I want the actual code SF1. I have unchecked all the following boxes in the map document that specify to display the description. Layer Properties Display Expression Layer Properties Label Expression Layer Properties HTML Popup Layer Attribute Table Appearance But the JavaScript API is still returning the description. Similarly, when I identify in the map document, I receive Single Family District and not SF1. Am I missing a setting someplace? or is there a setting in the identify parameters that I am overlooking?
... View more
07-14-2015
09:11 AM
|
0
|
7
|
5566
|
POST
|
I would like to hear from ESRI ESRI on this issue. I still have not found a way to put focus on the map and navigate around the map without a mouse. Chris Sergent had some interesting ways to navigate the mouse with the keyboard based on built in operating system controls... However, this solution still requires a mouse and is strictly reliant on the OS to have this feature. What if the user does not have a mouse? What if they can't navigate a pointer on their OS? These are accessibility issues that I am trying to overcome in our web development. Once again, I am looking for a way to navigate the map via keyboard only that does not rely on a mouse being attached to the computer at all. This is part of our WCAG 2.0 AA compliance requirements mandated to us from the Department of Justice. The only way I was able to do this was to add custom zoom and pan buttons on my map that can be accessed by tabbing through the page. See the link below for an example. Tile Index Map | Champaign County GIS Consortium I would prefer if I didn't have to do this customization on every map I publish. Can ESRI please comment on this? Are there any plans for keyboard only navigation in future releases of the JavaScript API?
... View more
07-13-2015
08:34 AM
|
0
|
3
|
752
|
POST
|
Thanks! I will have to do some testing. We are also required to meet these standards for Mac.
... View more
06-25-2015
02:45 PM
|
1
|
1
|
751
|
POST
|
Yes I did. But not all users will have Windows 7. The problem is, we are being audited by the DOJ and we need to meet WCAG 2.0 AA for all users. Most people use the tab key to navigate the page without a mouse. It would be nice if I could find a simple solution that is intuitive to the user to tab into the map, bring it into focus, and navigate using the +/- and arrow keys. Like I stated in my original post, adding the tabindex to the map div and calling focus on the map container sort of works. but only when the mouse is hovering over the map. Also it seems like I need to select the div with the enter key and tab down with the down arrow until the map itself comes into focus. This is not a user friendly solution. If anyone else has a better way, I would love to hear it.
... View more
06-25-2015
01:56 PM
|
0
|
5
|
752
|
POST
|
Everyone has provided some interesting discussion about ArcGIS Online. But I really need a solution that is easy and intuitive for navigating the map via keyboard only that works in the JavaScript API.
... View more
06-25-2015
01:32 PM
|
1
|
8
|
1763
|
POST
|
Yes, we are using the WAB Developer Edition. but you are limited to what you can modify. ESRI does not seem to provide full access to all the source code.
... View more
06-25-2015
01:15 PM
|
0
|
1
|
1762
|
POST
|
I do appreciate all the information and replies. Unfortunately, we were "randomly selected" to be audited from the US Department of Justice. Their initial agreement they sent us was super strict and required 100& compliance within 3 months. Thankfully we were able to negotiate the timeline but we really couldn't get them to budge on the requirements. For the most part, ESRI has done a good job with making ArcGIS Online compliant. There are just certain things that could easily be fixed on their end, that makes life very difficult to developers. For example, the search <input> box for the geolocator does not have a label. Certain widgets do not have roles. The site does not have a language code. No Landmarks are defined. These are just a few issues I have found. And maybe I am being naïve, but I am finding it difficult to access the embedded DOM elements that do not have an id.
... View more
06-25-2015
01:05 PM
|
2
|
3
|
1762
|
POST
|
Steve, I appreciate your reply, but... I have some very customized applications that are not easy to duplicate in ArcGIS Online. For example, when a user selects a tax parcel, I do some advanced queries to display a table with all the tax information, along with the taxing districts that spatially intersects the parcel, and additional information contained in separate SDE tables and layers. Sure I could add all the layers, turn on the popups and force the user to tab through all the popups. But that is not as user friendly as displaying all the information in a nicely formatted table. Additionally, most of the issues I have with the JavaScript API also come up as errors in ArcGIS Online. As a matter of fact, there are even more issues with ArcGIS Online maps because I find them difficult to customize and even when using the Web App Builder for Developers, we don't have access to all the source code. So, I really don't understand how ESRI can claim ArcGIS Online is Section 508 compliant. You still cannot navigate the map with the keyboard unless the mouse is hovering over the map. What if the user does not have a mouse due to limited mobility? This is even an issue with the WCAG Application Template. I think ESRI needs to test some of their applications with some of the ADA heuristic tools available (such as AInspector, WAVE, etc...) and clean up their code to meet the standards we are being forced to comply with.
... View more
06-25-2015
12:12 PM
|
0
|
14
|
1763
|
POST
|
We have several web mapping applications built with the ESRI JavaScript API that are now required to be WCAG 2.0 AA / Section 508 compliant. There are several issues I am running into. 1 - How do I bring focus to the map with the tab key? I have tried this... <div id="mapDiv" tabindex="0" onkeyup="document.getElementById('mapDiv_container').focus()"></div> This solution will (sort of) work after pressing enter and the down arrow several times... However, this only works when the mouse is hovering over the map. This seems silly, because it really defeats the purpose of keyboard navigation. 2 - How can I make the keyboard navigation work when the mouse is not hovering over the map? 3 - How can I set focus to the zoom slider buttons? 4 - How can I add alt tags to the images that are rendered for the map layers? 5 - How can I add widget roles to the map container, graphics layers, and the zoom slider buttons? I am using the AInspector add on for firefox to test my site. These are all issues that are coming up on the most simplest map you can make with the JavaScript API. More complex maps have additional issues, but I am interested if anyone knows how to handle these basic issues that every map has. Any help would be most appreciated.
... View more
06-25-2015
10:23 AM
|
0
|
30
|
8629
|
POST
|
Kelly, I was originally confused by your reply because we removed the default locator and added two of our own custom locators. So I'm not certain why the default locator is still being exposed through our organization. But it appears the issue was that we did not have the organization set to allow anonymous access. Once I set anonymous access both locators are working as expected in all the environments I had issues with previously. Thank you for your help. Kathleen
... View more
02-10-2015
07:16 AM
|
1
|
0
|
763
|
POST
|
Thank you Kelly Hutchins for the reply! I will look forward to this fix in the next release!
... View more
02-06-2015
06:55 AM
|
0
|
2
|
763
|
POST
|
This post has already been view 197 times so I assume others are having this same problem. Is there anyone at ESRI that can comment on this issue?
... View more
02-05-2015
12:31 PM
|
0
|
4
|
763
|
Title | Kudos | Posted |
---|---|---|
1 | 09-20-2023 10:50 AM | |
1 | 06-13-2023 11:45 AM | |
3 | 01-11-2022 07:33 AM | |
1 | 05-25-2022 10:27 AM | |
1 | 01-27-2021 02:40 PM |
Online Status |
Offline
|
Date Last Visited |
06-20-2024
05:26 PM
|