<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to avoid tabbing on the popup in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-avoid-tabbing-on-the-popup/m-p/460671#M42561</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;According to the &lt;A href="http://www.w3.org/TR/html5/editing.html"&gt;W3C&lt;/A&gt; you can set a tabIndex for the following:&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #000000; font-family: sans-serif; font-size: medium;"&gt;Modulo platform conventions, it is suggested that for the following elements, the &lt;A href="http://www.w3.org/TR/html5/editing.html#specially-focusable" style="color: #660099; background: transparent;"&gt;tabindex focus flag&lt;/A&gt; be set:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;CODE style="font-size: inherit; color: #d93b00;"&gt;&lt;A href="http://www.w3.org/TR/html5/text-level-semantics.html#the-a-element" style="color: inherit; background: transparent;"&gt;a&lt;/A&gt;&lt;/CODE&gt; elements that have an &lt;CODE data-anolis-xref="attr-hyperlink-href" style="font-size: inherit; color: #d93b00;"&gt;&lt;A href="http://www.w3.org/TR/html5/links.html#attr-hyperlink-href" style="color: inherit; background: transparent;"&gt;href&lt;/A&gt;&lt;/CODE&gt; attribute&lt;/LI&gt;&lt;LI&gt;&lt;CODE style="font-size: inherit; color: #d93b00;"&gt;&lt;A href="http://www.w3.org/TR/html5/document-metadata.html#the-link-element" style="color: inherit; background: transparent;"&gt;link&lt;/A&gt;&lt;/CODE&gt; elements that have an &lt;CODE data-anolis-xref="attr-link-href" style="font-size: inherit; color: #d93b00;"&gt;&lt;A href="http://www.w3.org/TR/html5/document-metadata.html#attr-link-href" style="color: inherit; background: transparent;"&gt;href&lt;/A&gt;&lt;/CODE&gt; attribute&lt;/LI&gt;&lt;LI&gt;&lt;CODE style="font-size: inherit; color: #d93b00;"&gt;&lt;A href="http://www.w3.org/TR/html5/forms.html#the-button-element" style="color: inherit; background: transparent;"&gt;button&lt;/A&gt;&lt;/CODE&gt; elements&lt;/LI&gt;&lt;LI&gt;&lt;CODE style="font-size: inherit; color: #d93b00;"&gt;&lt;A href="http://www.w3.org/TR/html5/forms.html#the-input-element" style="color: inherit; background: transparent;"&gt;input&lt;/A&gt;&lt;/CODE&gt; elements whose &lt;CODE data-anolis-xref="attr-input-type" style="font-size: inherit; color: #d93b00;"&gt;&lt;A href="http://www.w3.org/TR/html5/forms.html#attr-input-type" style="color: inherit; background: transparent;"&gt;type&lt;/A&gt;&lt;/CODE&gt; attribute are not in the &lt;A data-anolis-xref="attr-input-type-hidden" href="http://www.w3.org/TR/html5/forms.html#hidden-state-(type=hidden)" style="color: #660099; background: transparent;"&gt;Hidden&lt;/A&gt; state&lt;/LI&gt;&lt;LI&gt;&lt;CODE style="font-size: inherit; color: #d93b00;"&gt;&lt;A href="http://www.w3.org/TR/html5/forms.html#the-select-element" style="color: inherit; background: transparent;"&gt;select&lt;/A&gt;&lt;/CODE&gt; elements&lt;/LI&gt;&lt;LI&gt;&lt;CODE style="font-size: inherit; color: #d93b00;"&gt;&lt;A href="http://www.w3.org/TR/html5/forms.html#the-textarea-element" style="color: inherit; background: transparent;"&gt;textarea&lt;/A&gt;&lt;/CODE&gt; elements&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is your only link on the page, you could use the a element and write:&lt;/P&gt;&lt;P&gt;&lt;CODE style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif;"&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;document&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;getElementByTagName&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="str" style="color: #800000;"&gt;"a"&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #000000;"&gt;).&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;tabIndex &lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;-1&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #000000;"&gt;;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="pun" style="color: #000000;"&gt;to skip it. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="pun" style="color: #000000;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="pun" style="color: #000000;"&gt;If that does not work, you could try getting element by class name which in this case is actionList, so it would be:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="pun" style="color: #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Consolas, 'courier new'; font-size: 15px;"&gt;document.getElementsByClassName(&lt;/SPAN&gt;&lt;SPAN class="highVAL" style="color: #0000cd; font-family: Consolas, 'courier new'; font-size: 15px;"&gt;"actionList"&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Consolas, 'courier new'; font-size: 15px;"&gt;).tabIndex = -1;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 15px; font-family: Consolas, 'courier new';"&gt;There may be a different way to write this if you are using AMD, but I am not sure.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 15px; font-family: Consolas, 'courier new';"&gt;Worst case scenario, you could host the JavaScript API locally and name then manually add tabIndex = -1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Jan 2015 17:21:46 GMT</pubDate>
    <dc:creator>ChrisSergent</dc:creator>
    <dc:date>2015-01-27T17:21:46Z</dc:date>
    <item>
      <title>How to avoid tabbing on the popup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-avoid-tabbing-on-the-popup/m-p/460670#M42560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using &lt;SPAN class="typ" style="color: #000000;"&gt;InfoTemplate &lt;/SPAN&gt;class in my application to show popup on the map. Let's say popup is open on the map. Now, if I try to navigate using tab key then cursor stops at Zoom To link. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I want to avoid tabbing on this popup then how can I do that? e.g if you open following example in the browser and navigate using tab key then it will show cursor on Zoom To link when the control comes there. May be I need to set tabIndex="-1" on that link, but not sure how can I do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://developers.arcgis.com/javascript/samples/widget_formatInfoWindow/" title="http://developers.arcgis.com/javascript/samples/widget_formatInfoWindow/"&gt;Formatter Function&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2015 21:31:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-avoid-tabbing-on-the-popup/m-p/460670#M42560</guid>
      <dc:creator>BhavinSanghani</dc:creator>
      <dc:date>2015-01-26T21:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid tabbing on the popup</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-avoid-tabbing-on-the-popup/m-p/460671#M42561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;According to the &lt;A href="http://www.w3.org/TR/html5/editing.html"&gt;W3C&lt;/A&gt; you can set a tabIndex for the following:&lt;/P&gt;&lt;P style="margin-bottom: 1em; color: #000000; font-family: sans-serif; font-size: medium;"&gt;Modulo platform conventions, it is suggested that for the following elements, the &lt;A href="http://www.w3.org/TR/html5/editing.html#specially-focusable" style="color: #660099; background: transparent;"&gt;tabindex focus flag&lt;/A&gt; be set:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;CODE style="font-size: inherit; color: #d93b00;"&gt;&lt;A href="http://www.w3.org/TR/html5/text-level-semantics.html#the-a-element" style="color: inherit; background: transparent;"&gt;a&lt;/A&gt;&lt;/CODE&gt; elements that have an &lt;CODE data-anolis-xref="attr-hyperlink-href" style="font-size: inherit; color: #d93b00;"&gt;&lt;A href="http://www.w3.org/TR/html5/links.html#attr-hyperlink-href" style="color: inherit; background: transparent;"&gt;href&lt;/A&gt;&lt;/CODE&gt; attribute&lt;/LI&gt;&lt;LI&gt;&lt;CODE style="font-size: inherit; color: #d93b00;"&gt;&lt;A href="http://www.w3.org/TR/html5/document-metadata.html#the-link-element" style="color: inherit; background: transparent;"&gt;link&lt;/A&gt;&lt;/CODE&gt; elements that have an &lt;CODE data-anolis-xref="attr-link-href" style="font-size: inherit; color: #d93b00;"&gt;&lt;A href="http://www.w3.org/TR/html5/document-metadata.html#attr-link-href" style="color: inherit; background: transparent;"&gt;href&lt;/A&gt;&lt;/CODE&gt; attribute&lt;/LI&gt;&lt;LI&gt;&lt;CODE style="font-size: inherit; color: #d93b00;"&gt;&lt;A href="http://www.w3.org/TR/html5/forms.html#the-button-element" style="color: inherit; background: transparent;"&gt;button&lt;/A&gt;&lt;/CODE&gt; elements&lt;/LI&gt;&lt;LI&gt;&lt;CODE style="font-size: inherit; color: #d93b00;"&gt;&lt;A href="http://www.w3.org/TR/html5/forms.html#the-input-element" style="color: inherit; background: transparent;"&gt;input&lt;/A&gt;&lt;/CODE&gt; elements whose &lt;CODE data-anolis-xref="attr-input-type" style="font-size: inherit; color: #d93b00;"&gt;&lt;A href="http://www.w3.org/TR/html5/forms.html#attr-input-type" style="color: inherit; background: transparent;"&gt;type&lt;/A&gt;&lt;/CODE&gt; attribute are not in the &lt;A data-anolis-xref="attr-input-type-hidden" href="http://www.w3.org/TR/html5/forms.html#hidden-state-(type=hidden)" style="color: #660099; background: transparent;"&gt;Hidden&lt;/A&gt; state&lt;/LI&gt;&lt;LI&gt;&lt;CODE style="font-size: inherit; color: #d93b00;"&gt;&lt;A href="http://www.w3.org/TR/html5/forms.html#the-select-element" style="color: inherit; background: transparent;"&gt;select&lt;/A&gt;&lt;/CODE&gt; elements&lt;/LI&gt;&lt;LI&gt;&lt;CODE style="font-size: inherit; color: #d93b00;"&gt;&lt;A href="http://www.w3.org/TR/html5/forms.html#the-textarea-element" style="color: inherit; background: transparent;"&gt;textarea&lt;/A&gt;&lt;/CODE&gt; elements&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is your only link on the page, you could use the a element and write:&lt;/P&gt;&lt;P&gt;&lt;CODE style="font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif;"&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;document&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #000000;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;getElementByTagName&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #000000;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="str" style="color: #800000;"&gt;"a"&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #000000;"&gt;).&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;tabIndex &lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #000000;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;-1&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #000000;"&gt;;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="pun" style="color: #000000;"&gt;to skip it. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="pun" style="color: #000000;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="pun" style="color: #000000;"&gt;If that does not work, you could try getting element by class name which in this case is actionList, so it would be:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="pun" style="color: #000000;"&gt;&lt;SPAN style="color: #000000; font-family: Consolas, 'courier new'; font-size: 15px;"&gt;document.getElementsByClassName(&lt;/SPAN&gt;&lt;SPAN class="highVAL" style="color: #0000cd; font-family: Consolas, 'courier new'; font-size: 15px;"&gt;"actionList"&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Consolas, 'courier new'; font-size: 15px;"&gt;).tabIndex = -1;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 15px; font-family: Consolas, 'courier new';"&gt;There may be a different way to write this if you are using AMD, but I am not sure.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 15px; font-family: Consolas, 'courier new';"&gt;Worst case scenario, you could host the JavaScript API locally and name then manually add tabIndex = -1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 17:21:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-avoid-tabbing-on-the-popup/m-p/460671#M42561</guid>
      <dc:creator>ChrisSergent</dc:creator>
      <dc:date>2015-01-27T17:21:46Z</dc:date>
    </item>
  </channel>
</rss>

