{"id":1949032,"date":"2023-06-15T06:05:36","date_gmt":"2023-06-15T13:05:36","guid":{"rendered":"https:\/\/www.esri.com\/arcgis-blog\/?post_type=blog&#038;p=1949032"},"modified":"2024-10-31T23:57:23","modified_gmt":"2024-11-01T06:57:23","slug":"accessibility-and-arcade-working-in-color","status":"publish","type":"blog","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/accessibility-and-arcade-working-in-color","title":{"rendered":"Accessibility and Arcade: Working in Color"},"author":319692,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"_acf_changed":false,"_searchwp_excluded":""},"categories":[777102,22941],"tags":[28911,32551,521102,769982],"industry":[],"product":[36551],"class_list":["post-1949032","blog","type-blog","status-publish","format-standard","hentry","category-arcade","category-mapping","tag-accessibility","tag-arcade","tag-mapviewer","tag-whats-new-june-2023","product-arcgis-online"],"acf":{"authors":[{"ID":319692,"user_firstname":"Taylor","user_lastname":"McNeil","nickname":"Taylor McNeil","user_nicename":"tmcneil","display_name":"Taylor McNeil","user_email":"tmcneil@esri.com","user_url":"","user_registered":"2022-10-06 12:43:53","user_description":"Taylor is a Product Engineer on the ArcGIS Online team based in Nova Scotia, Canada. She has received a BSc in Biology and a MSc in Applied Geomatics. When she's not at work, she can be found taking care of her houseplants, reading copious amounts of fiction, and exploring local thrift stores.","user_avatar":"<img data-del=\"avatar\" src='https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2022\/10\/BlogProfilePicCrop-213x200.jpg' class='avatar pp-user-avatar avatar-96 photo ' height='96' width='96'\/>"}],"short_description":"Take a deep dive into the new accessible color palette for syntax highlighting available in the Arcade editor.","flexible_content":[{"acf_fc_layout":"content","content":"<p>In the November 2022 release of ArcGIS Online, a new Arcade editor was introduced to the platform. This editor provided a variety of improvements to help users author their expressions quickly and efficiently. For an overview of all these changes, check out our previous blogs <a href=\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/introducing-the-new-arcade-editor-in-arcgis-online\/\" target=\"_blank\" rel=\"noopener\">here<\/a> and <a href=\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/discover-the-arcade-editors-powerful-new-features\/\" target=\"_blank\" rel=\"noopener\">here<\/a>.<\/p>\n<p>Since then, we&#8217;ve been busy exploring ways we can continue to enhance the experience of users leveraging Arcade in their work.<\/p>\n<p>We&#8217;re excited to announce that with the June 2023 release of ArcGIS Online, a new accessible color palette for syntax highlighting will be coming to the editor in MapViewer!<\/p>\n<h2>Color in code<\/h2>\n<p>Using color to provide context is a common practice in design, and syntax highlighting is no exception. Syntax highlighting, otherwise known as code colorization, is a method used to help quickly differentiate elements within a script. It can help authors troubleshoot issues in their script while simultaneously improving code readability.<\/p>\n"},{"acf_fc_layout":"content","content":"<h2>Color vision deficiencies<\/h2>\n<p>A color vision deficiency &#8211; colloquially referred to as colorblindness &#8211; is an inability for an individual to distinguish certain shades or colors. The type and severity of color vision deficiency can vary greatly between individuals. For a brief overview of the various types of color vision deficiencies, you can refer to the table below.<\/p>\n"},{"acf_fc_layout":"content","content":"<table style=\"margin-left: auto;margin-right: auto\" border=\"\u201d1\u2033\" width=\"\u201d390\u2033\" cellspacing=\"\u201d0\u2033\" cellpadding=\"\u201d0\u2033\">\n<tbody>\n<tr>\n<td><strong>Color vision deficiency<\/strong><\/td>\n<td><strong>Description<\/strong><\/td>\n<td><strong>Example<\/strong><\/td>\n<\/tr>\n<tr>\n<td>None<\/td>\n<td>N\/A<\/td>\n<td><img decoding=\"async\" src=\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/trichromatic-2.png\" \/><\/td>\n<\/tr>\n<tr>\n<td>Deuteranomaly<\/td>\n<td>Difficulty seeing green<\/td>\n<td><img decoding=\"async\" src=\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/deuteranomaly-2.png\" \/><\/td>\n<\/tr>\n<tr>\n<td>Deuteranopia<\/td>\n<td>Unable to perceive green<\/td>\n<td><img decoding=\"async\" src=\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/deuteranopia-2.png\" \/><\/td>\n<\/tr>\n<tr>\n<td>Protanomaly<\/td>\n<td>Difficulty seeing red<\/td>\n<td><img decoding=\"async\" src=\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/protanomaly-2.png\" \/><\/td>\n<\/tr>\n<tr>\n<td>Protanopia<\/td>\n<td>Unable to perceive red<\/td>\n<td><img decoding=\"async\" src=\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/protanopia-2.png\" \/><\/td>\n<\/tr>\n<tr>\n<td>Tritanomaly<\/td>\n<td>Difficulty seeing blue and yellow<\/td>\n<td><img decoding=\"async\" src=\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/tritanomaly-2.png\" \/><\/td>\n<\/tr>\n<tr>\n<td>Tritanopia<\/td>\n<td>Unable to perceive blue and yellow<\/td>\n<td><img decoding=\"async\" src=\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/tritanopia-2.png\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n"},{"acf_fc_layout":"content","content":"<h2>Accessibility in ArcGIS Online<\/h2>\n<p>Accessibility is the practice of developing and producing content that is useable for all individuals, regardless of their physical or cognitive capabilities. Esri is committed to ensuring our products are accessible, and ArcGIS Online is no exception.<\/p>\n<p>To achieve this objective, we leverage the <a href=\"https:\/\/www.w3.org\/TR\/WCAG20\/\" target=\"_blank\" rel=\"noopener\">Web Content Accessibility Guidelines<\/a> (WCAG 2.0), an internationally recognized set of standards used for developing accessible web content and software.<\/p>\n"},{"acf_fc_layout":"sidebar","content":"<p><em>If you&#8217;re interested in learning about other enhancements we&#8217;ve implemented to support accessibility in ArcGIS Online, check out some of these other blogs <a href=\"https:\/\/www.esri.com\/arcgis-blog\/?s=#&amp;tag=accessibility&amp;products=arcgis-online\" target=\"_blank\" rel=\"noopener\">here<\/a>.<\/em><\/p>\n","image_reference":false,"layout":"standard","image_reference_figure":"","snippet":"","spotlight_name":"","section_title":"","position":"Center","spotlight_image":false},{"acf_fc_layout":"content","content":"<p>The new color palette used to highlight syntax in the Arcade editor was designed to be compliant with <a href=\"https:\/\/www.w3.org\/TR\/UNDERSTANDING-WCAG20\/visual-audio-contrast-contrast.html\" target=\"_blank\" rel=\"noopener\">WCAG 2.0 special criterion 1.4.3<\/a>.<\/p>\n<p>Special criterion 1.4.3 specifies that the contrast between foreground and background elements must be at least <strong>4.5:1<\/strong>. This ensures that text is still legible for individuals with moderately low vision or other color vision deficiencies.<\/p>\n"},{"acf_fc_layout":"content","content":"<h2>A brief history of color and Arcade<\/h2>\n<p>If you&#8217;ve used the Arcade editor before, you&#8217;ll know that syntax highlighting isn&#8217;t new. All versions of the editor have leveraged color to varying degrees to differentiate syntax elements. In the initial release of the editor, minimal highlighting was used to signify text and numbers.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":1949862,"id":1949862,"title":"oldEditorsyntaxHighlight","filename":"oldEditorsyntaxHighlight.jpg","filesize":25187,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/oldEditorsyntaxHighlight.jpg","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/accessibility-and-arcade-working-in-color\/oldeditorsyntaxhighlight","alt":"Syntax highlighting present in the original Arcade editor.","author":"319692","description":"","caption":"Syntax highlighting present in the original Arcade editor is only applied to text and numbers.","name":"oldeditorsyntaxhighlight","status":"inherit","uploaded_to":1949032,"date":"2023-06-02 19:00:39","modified":"2023-06-02 19:07:27","menu_order":0,"mime_type":"image\/jpeg","type":"image","subtype":"jpeg","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":702,"height":208,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/oldEditorsyntaxHighlight-213x200.jpg","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/oldEditorsyntaxHighlight.jpg","medium-width":464,"medium-height":137,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/oldEditorsyntaxHighlight.jpg","medium_large-width":702,"medium_large-height":208,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/oldEditorsyntaxHighlight.jpg","large-width":702,"large-height":208,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/oldEditorsyntaxHighlight.jpg","1536x1536-width":702,"1536x1536-height":208,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/oldEditorsyntaxHighlight.jpg","2048x2048-width":702,"2048x2048-height":208,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/oldEditorsyntaxHighlight.jpg","card_image-width":702,"card_image-height":208,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/oldEditorsyntaxHighlight.jpg","wide_image-width":702,"wide_image-height":208}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p>Within the new editor, these colors were expanded to include other syntax elements like keywords and comments.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":1949882,"id":1949882,"title":"newEditorsyntaxHighlight","filename":"newEditorsyntaxHighlight.jpg","filesize":20846,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/newEditorsyntaxHighlight.jpg","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/accessibility-and-arcade-working-in-color\/neweditorsyntaxhighlight","alt":"Syntax highlighting in the new Arcade editor released in November 2022.","author":"319692","description":"","caption":"Syntax highlighting in the new Arcade editor is expanded to include comments and keywords in the script.","name":"neweditorsyntaxhighlight","status":"inherit","uploaded_to":1949032,"date":"2023-06-02 19:01:51","modified":"2023-06-02 19:07:36","menu_order":0,"mime_type":"image\/jpeg","type":"image","subtype":"jpeg","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":587,"height":219,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/newEditorsyntaxHighlight-213x200.jpg","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/newEditorsyntaxHighlight.jpg","medium-width":464,"medium-height":173,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/newEditorsyntaxHighlight.jpg","medium_large-width":587,"medium_large-height":219,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/newEditorsyntaxHighlight.jpg","large-width":587,"large-height":219,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/newEditorsyntaxHighlight.jpg","1536x1536-width":587,"1536x1536-height":219,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/newEditorsyntaxHighlight.jpg","2048x2048-width":587,"2048x2048-height":219,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/newEditorsyntaxHighlight.jpg","card_image-width":587,"card_image-height":219,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/newEditorsyntaxHighlight.jpg","wide_image-width":587,"wide_image-height":219}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p>While this was a huge enhancement from before, there was some overlap in the colors used for different elements, and therefore, room for improvement. The editor&#8217;s new color palette has been designed to fulfill two objectives:<\/p>\n<ol>\n<li>Better differentiate syntax elements <em>within<\/em> the arcade expression<\/li>\n<li>Ensure contrast is compliant with WCAG 2.0 1.4.3 standards, both for individuals with typical color vision <strong>and<\/strong> with other color vision deficiencies<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n"},{"acf_fc_layout":"content","content":"<h2>Out with the old, in with the new (colors)!<\/h2>\n<p>If you&#8217;ve already seen the new syntax colors, you might have noticed there are some similarities between the old and new color palettes. While the hue and saturation of many of the element colors has changed, we&#8217;ve tried to maintain consistency where possible. For example, text is still red, and numbers are still green.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":1950312,"id":1950312,"title":"editor_typicalVision","filename":"editor_typicalVision.jpg","filesize":108899,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/editor_typicalVision.jpg","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/accessibility-and-arcade-working-in-color\/editor_typicalvision","alt":"New syntax highlighting in the Arcade editor as of June 2023.","author":"319692","description":"","caption":"New syntax highlighting color palette for the Arcade editor in MapViewer as of June 2023.  ","name":"editor_typicalvision","status":"inherit","uploaded_to":1949032,"date":"2023-06-02 20:12:45","modified":"2023-06-02 20:13:01","menu_order":0,"mime_type":"image\/jpeg","type":"image","subtype":"jpeg","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":835,"height":442,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/editor_typicalVision-213x200.jpg","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/editor_typicalVision.jpg","medium-width":464,"medium-height":246,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/editor_typicalVision.jpg","medium_large-width":768,"medium_large-height":407,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/editor_typicalVision.jpg","large-width":835,"large-height":442,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/editor_typicalVision.jpg","1536x1536-width":835,"1536x1536-height":442,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/editor_typicalVision.jpg","2048x2048-width":835,"2048x2048-height":442,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/editor_typicalVision-826x437.jpg","card_image-width":826,"card_image-height":437,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/editor_typicalVision.jpg","wide_image-width":835,"wide_image-height":442}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p>The new colors and the respective elements they&#8217;re assigned to in the editor are listed below:<\/p>\n<ul>\n<li><a href=\"https:\/\/developers.arcgis.com\/arcade\/guide\/comments\/\" target=\"_blank\" rel=\"noopener\">Comments<\/a> are grey<\/li>\n<li><a href=\"https:\/\/developers.arcgis.com\/arcade\/guide\/reserved\/#null-and-boolean-literals\" target=\"_blank\" rel=\"noopener\">Boolean literals and nulls<\/a> are purple<\/li>\n<li><a href=\"https:\/\/developers.arcgis.com\/arcade\/guide\/types\/#text\" target=\"_blank\" rel=\"noopener\">Text<\/a> is red<\/li>\n<li><a href=\"https:\/\/developers.arcgis.com\/arcade\/guide\/types\/#number\" target=\"_blank\" rel=\"noopener\">Numbers<\/a> are green<\/li>\n<li><a href=\"https:\/\/developers.arcgis.com\/arcade\/guide\/types\/#date\" target=\"_blank\" rel=\"noopener\">Dates<\/a> are light blue<\/li>\n<li><a href=\"https:\/\/developers.arcgis.com\/arcade\/guide\/functions\/\" target=\"_blank\" rel=\"noopener\">Functions,<\/a> <a href=\"https:\/\/developers.arcgis.com\/arcade\/function-reference\/constants\/\" target=\"_blank\" rel=\"noopener\">constants<\/a>, and <a href=\"https:\/\/developers.arcgis.com\/arcade\/guide\/variables\/\" target=\"_blank\" rel=\"noopener\">variables<\/a>\u00a0are dark blue<\/li>\n<li><a href=\"https:\/\/developers.arcgis.com\/arcade\/guide\/statements\/#keywords\" target=\"_blank\" rel=\"noopener\">Keywords<\/a> are orange<\/li>\n<\/ul>\n<p>Right now, you&#8217;ll be able to see these new colors in use anywhere in <a href=\"https:\/\/www.arcgis.com\/apps\/mapviewer\/index.html\" target=\"_blank\" rel=\"noopener\">MapViewer<\/a> that leverages the Arcade editor (Styles, Labels, Pop-ups, and Forms).<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":1950232,"id":1950232,"title":"editor_deuteranomaly","filename":"editor_deuteranomaly.jpg","filesize":82614,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/editor_deuteranomaly.jpg","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/accessibility-and-arcade-working-in-color\/editor_deuteranomaly","alt":"The Arcade editor with a deuteranomaly emulation applied.","author":"319692","description":"","caption":"The new syntax colors in the Arcade editor with a deuteranomaly visual emulation applied. ","name":"editor_deuteranomaly","status":"inherit","uploaded_to":1949032,"date":"2023-06-02 19:55:27","modified":"2023-06-02 19:56:30","menu_order":0,"mime_type":"image\/jpeg","type":"image","subtype":"jpeg","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":1042,"height":545,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/editor_deuteranomaly-213x200.jpg","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/editor_deuteranomaly.jpg","medium-width":464,"medium-height":243,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/editor_deuteranomaly.jpg","medium_large-width":768,"medium_large-height":402,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/editor_deuteranomaly.jpg","large-width":1042,"large-height":545,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/editor_deuteranomaly.jpg","1536x1536-width":1042,"1536x1536-height":545,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/editor_deuteranomaly.jpg","2048x2048-width":1042,"2048x2048-height":545,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/editor_deuteranomaly-826x432.jpg","card_image-width":826,"card_image-height":432,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/editor_deuteranomaly.jpg","wide_image-width":1042,"wide_image-height":545}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"image","image":{"ID":1950242,"id":1950242,"title":"editor_tritanomaly","filename":"editor_tritanomaly.jpg","filesize":89261,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/editor_tritanomaly.jpg","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/accessibility-and-arcade-working-in-color\/editor_tritanomaly","alt":"The Arcade editor with a tritanomaly emulation applied.","author":"319692","description":"","caption":"The new syntax colors in the Arcade editor with a tritanomaly visual emulation applied. ","name":"editor_tritanomaly","status":"inherit","uploaded_to":1949032,"date":"2023-06-02 20:00:56","modified":"2023-06-02 20:01:29","menu_order":0,"mime_type":"image\/jpeg","type":"image","subtype":"jpeg","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":1043,"height":546,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/editor_tritanomaly-213x200.jpg","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/editor_tritanomaly.jpg","medium-width":464,"medium-height":243,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/editor_tritanomaly.jpg","medium_large-width":768,"medium_large-height":402,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/editor_tritanomaly.jpg","large-width":1043,"large-height":546,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/editor_tritanomaly.jpg","1536x1536-width":1043,"1536x1536-height":546,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/editor_tritanomaly.jpg","2048x2048-width":1043,"2048x2048-height":546,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/editor_tritanomaly-826x432.jpg","card_image-width":826,"card_image-height":432,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/editor_tritanomaly.jpg","wide_image-width":1043,"wide_image-height":546}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p>Ensuring that color isn&#8217;t the only way information is conveyed is an important tenet of accessible web design. The color palette we&#8217;ve implemented for highlighting syntax in the editor has been tested to ensure it meets WCAG 2.0 contrast standards for all types of color vision deficiencies, both more and less common.<\/p>\n<p>While syntax color certainly isn&#8217;t the sole method of conveying context in the editor, we want to ensure that the contrast of text is sufficient for all individuals working with arcade expressions in ArcGIS Online.<\/p>\n"},{"acf_fc_layout":"content","content":"<h2>Conclusion<\/h2>\n<p>If you haven&#8217;t already had the chance, try out our new syntax colors! Aside from MapViewer, they&#8217;re also available in the ArcGIS Arcade playground <a href=\"https:\/\/developers.arcgis.com\/arcade\/playground\/\" target=\"_blank\" rel=\"noopener\">here<\/a>.<\/p>\n<p>In the future, we&#8217;re also hoping to leverage these syntax colors in other areas where Arcade is used in ArcGIS Online so check back for future announcements.<\/p>\n<p>Finally, keep your eyes peeled for a WCAG 2.0 compliant color palette for a dark version of the editor coming soon.<\/p>\n"}],"related_articles":[{"ID":1947482,"post_author":"335892","post_date":"2023-06-02 09:35:52","post_date_gmt":"2023-06-02 16:35:52","post_content":"","post_title":"Accessibility Presentations at Esri User Conference 2023","post_excerpt":"","post_status":"publish","comment_status":"closed","ping_status":"closed","post_password":"","post_name":"accessibility-presentations-at-esri-user-conference-2023","to_ping":"","pinged":"","post_modified":"2023-06-05 14:39:43","post_modified_gmt":"2023-06-05 21:39:43","post_content_filtered":"","post_parent":0,"guid":"https:\/\/www.esri.com\/arcgis-blog\/?post_type=blog&#038;p=1947482","menu_order":0,"post_type":"blog","post_mime_type":"","comment_count":"0","filter":"raw"},{"ID":1637992,"post_author":"4491","post_date":"2023-02-02 11:19:26","post_date_gmt":"2023-02-02 19:19:26","post_content":"","post_title":"Working with Enhanced Contrast basemaps to improve accessibility","post_excerpt":"","post_status":"publish","comment_status":"open","ping_status":"closed","post_password":"","post_name":"working-with-enhanced-contrast-basemaps-to-improve-accessibility","to_ping":"","pinged":"","post_modified":"2024-05-15 14:59:15","post_modified_gmt":"2024-05-15 21:59:15","post_content_filtered":"","post_parent":0,"guid":"https:\/\/www.esri.com\/arcgis-blog\/?post_type=blog&#038;p=1637992","menu_order":0,"post_type":"blog","post_mime_type":"","comment_count":"0","filter":"raw"},{"ID":73441,"post_author":"4801","post_date":"2016-09-01 15:14:00","post_date_gmt":"2016-09-01 15:14:00","post_content":"","post_title":"Accessibility Guidelines: Color Contrast Testing for Configurable Apps","post_excerpt":"","post_status":"publish","comment_status":"open","ping_status":"closed","post_password":"","post_name":"accessibility-guidelines-color-contrast-testing-for-configurable-apps","to_ping":"","pinged":"","post_modified":"2018-03-26 21:10:11","post_modified_gmt":"2018-03-26 21:10:11","post_content_filtered":"","post_parent":0,"guid":"http:\/\/www.esri.com\/arcgis-blog\/products\/product\/uncategorized\/accessibility-guidelines-color-contrast-testing-for-configurable-apps\/","menu_order":0,"post_type":"blog","post_mime_type":"","comment_count":"0","filter":"raw"}],"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/ArcadeColorBlogBanner_WithEffect_CardImage.jpg","wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/ArcadeColorBlogBanner_WithEffect.jpg"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.9 (Yoast SEO v25.9) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Accessibility and Arcade: Working in Color<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/accessibility-and-arcade-working-in-color\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Accessibility and Arcade: Working in Color\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/accessibility-and-arcade-working-in-color\" \/>\n<meta property=\"og:site_name\" content=\"ArcGIS Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/esrigis\/\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-01T06:57:23+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@ESRI\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":[\"Article\",\"BlogPosting\"],\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/accessibility-and-arcade-working-in-color#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/accessibility-and-arcade-working-in-color\"},\"author\":{\"name\":\"Taylor McNeil\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/63839a1126b72563ed17ee37fc4a3257\"},\"headline\":\"Accessibility and Arcade: Working in Color\",\"datePublished\":\"2023-06-15T13:05:36+00:00\",\"dateModified\":\"2024-11-01T06:57:23+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/accessibility-and-arcade-working-in-color\"},\"wordCount\":6,\"publisher\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#organization\"},\"keywords\":[\"accessibility\",\"arcade\",\"MapViewer\",\"whats new june 2023\"],\"articleSection\":[\"Arcade\",\"Mapping\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/accessibility-and-arcade-working-in-color\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/accessibility-and-arcade-working-in-color\",\"name\":\"Accessibility and Arcade: Working in Color\",\"isPartOf\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#website\"},\"datePublished\":\"2023-06-15T13:05:36+00:00\",\"dateModified\":\"2024-11-01T06:57:23+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/accessibility-and-arcade-working-in-color#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/accessibility-and-arcade-working-in-color\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/accessibility-and-arcade-working-in-color#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.esri.com\/arcgis-blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Accessibility and Arcade: Working in Color\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#website\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/\",\"name\":\"ArcGIS Blog\",\"description\":\"Get insider info from Esri product teams\",\"publisher\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.esri.com\/arcgis-blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#organization\",\"name\":\"Esri\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png\",\"contentUrl\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png\",\"width\":400,\"height\":400,\"caption\":\"Esri\"},\"image\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/esrigis\/\",\"https:\/\/x.com\/ESRI\",\"https:\/\/www.linkedin.com\/company\/5311\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/63839a1126b72563ed17ee37fc4a3257\",\"name\":\"Taylor McNeil\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2022\/10\/BlogProfilePicCrop-213x200.jpg\",\"contentUrl\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2022\/10\/BlogProfilePicCrop-213x200.jpg\",\"caption\":\"Taylor McNeil\"},\"description\":\"Taylor is a Product Engineer on the ArcGIS Online team based in Nova Scotia, Canada. She has received a BSc in Biology and a MSc in Applied Geomatics. When she's not at work, she can be found taking care of her houseplants, reading copious amounts of fiction, and exploring local thrift stores.\",\"jobTitle\":\"product engineer\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/author\/tmcneil\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Accessibility and Arcade: Working in Color","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/accessibility-and-arcade-working-in-color","og_locale":"en_US","og_type":"article","og_title":"Accessibility and Arcade: Working in Color","og_url":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/accessibility-and-arcade-working-in-color","og_site_name":"ArcGIS Blog","article_publisher":"https:\/\/www.facebook.com\/esrigis\/","article_modified_time":"2024-11-01T06:57:23+00:00","twitter_card":"summary_large_image","twitter_site":"@ESRI","twitter_misc":{"Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["Article","BlogPosting"],"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/accessibility-and-arcade-working-in-color#article","isPartOf":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/accessibility-and-arcade-working-in-color"},"author":{"name":"Taylor McNeil","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/63839a1126b72563ed17ee37fc4a3257"},"headline":"Accessibility and Arcade: Working in Color","datePublished":"2023-06-15T13:05:36+00:00","dateModified":"2024-11-01T06:57:23+00:00","mainEntityOfPage":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/accessibility-and-arcade-working-in-color"},"wordCount":6,"publisher":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#organization"},"keywords":["accessibility","arcade","MapViewer","whats new june 2023"],"articleSection":["Arcade","Mapping"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/accessibility-and-arcade-working-in-color","url":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/accessibility-and-arcade-working-in-color","name":"Accessibility and Arcade: Working in Color","isPartOf":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#website"},"datePublished":"2023-06-15T13:05:36+00:00","dateModified":"2024-11-01T06:57:23+00:00","breadcrumb":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/accessibility-and-arcade-working-in-color#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/accessibility-and-arcade-working-in-color"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/mapping\/accessibility-and-arcade-working-in-color#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.esri.com\/arcgis-blog\/"},{"@type":"ListItem","position":2,"name":"Accessibility and Arcade: Working in Color"}]},{"@type":"WebSite","@id":"https:\/\/www.esri.com\/arcgis-blog\/#website","url":"https:\/\/www.esri.com\/arcgis-blog\/","name":"ArcGIS Blog","description":"Get insider info from Esri product teams","publisher":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.esri.com\/arcgis-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.esri.com\/arcgis-blog\/#organization","name":"Esri","url":"https:\/\/www.esri.com\/arcgis-blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png","contentUrl":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png","width":400,"height":400,"caption":"Esri"},"image":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/esrigis\/","https:\/\/x.com\/ESRI","https:\/\/www.linkedin.com\/company\/5311\/"]},{"@type":"Person","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/63839a1126b72563ed17ee37fc4a3257","name":"Taylor McNeil","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/image\/","url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2022\/10\/BlogProfilePicCrop-213x200.jpg","contentUrl":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2022\/10\/BlogProfilePicCrop-213x200.jpg","caption":"Taylor McNeil"},"description":"Taylor is a Product Engineer on the ArcGIS Online team based in Nova Scotia, Canada. She has received a BSc in Biology and a MSc in Applied Geomatics. When she's not at work, she can be found taking care of her houseplants, reading copious amounts of fiction, and exploring local thrift stores.","jobTitle":"product engineer","url":"https:\/\/www.esri.com\/arcgis-blog\/author\/tmcneil"}]}},"text_date":"June 15, 2023","author_name":"Taylor McNeil","author_page":"https:\/\/www.esri.com\/arcgis-blog\/author\/tmcneil","custom_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2023\/06\/ArcadeColorBlogBanner_WithEffect.jpg","primary_product":"ArcGIS Online","tag_data":[{"term_id":28911,"name":"accessibility","slug":"accessibility","term_group":0,"term_taxonomy_id":28911,"taxonomy":"post_tag","description":"","parent":0,"count":77,"filter":"raw"},{"term_id":32551,"name":"arcade","slug":"arcade","term_group":0,"term_taxonomy_id":32551,"taxonomy":"post_tag","description":"","parent":0,"count":113,"filter":"raw"},{"term_id":521102,"name":"MapViewer","slug":"mapviewer","term_group":0,"term_taxonomy_id":521102,"taxonomy":"post_tag","description":"","parent":0,"count":4,"filter":"raw"},{"term_id":769982,"name":"whats new june 2023","slug":"whats-new-june-2023","term_group":0,"term_taxonomy_id":769982,"taxonomy":"post_tag","description":"","parent":0,"count":27,"filter":"raw"}],"category_data":[{"term_id":777102,"name":"Arcade","slug":"arcade","term_group":0,"term_taxonomy_id":777102,"taxonomy":"category","description":"","parent":0,"count":103,"filter":"raw"},{"term_id":22941,"name":"Mapping","slug":"mapping","term_group":0,"term_taxonomy_id":22941,"taxonomy":"category","description":"","parent":0,"count":2740,"filter":"raw"}],"product_data":[{"term_id":36551,"name":"ArcGIS Online","slug":"arcgis-online","term_group":0,"term_taxonomy_id":36551,"taxonomy":"product","description":"","parent":0,"count":2473,"filter":"raw"}],"primary_product_link":"https:\/\/www.esri.com\/arcgis-blog\/?s=#&products=arcgis-online","_links":{"self":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog\/1949032","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog"}],"about":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/types\/blog"}],"author":[{"embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/users\/319692"}],"replies":[{"embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/comments?post=1949032"}],"version-history":[{"count":0,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog\/1949032\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/media?parent=1949032"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/categories?post=1949032"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/tags?post=1949032"},{"taxonomy":"industry","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/industry?post=1949032"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/product?post=1949032"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}