libaurum: Add attribute 'class' for NUI app. 12/259412/1
authorWoochanlee <wc0917.lee@samsung.com>
Mon, 7 Jun 2021 11:40:00 +0000 (20:40 +0900)
committerWoochanlee <wc0917.lee@samsung.com>
Mon, 7 Jun 2021 11:40:00 +0000 (20:40 +0900)
Change-Id: I8e990ac4b8145e8cb992a03f8d3dc5c99e8dabed

libaurum/src/Impl/Accessibility/AtspiAccessibleNode.cc

index 1b2c4db..68239bf 100644 (file)
@@ -192,6 +192,7 @@ void AtspiAccessibleNode::refresh()
         if (attributes) {
             char *t = (char*)g_hash_table_lookup(attributes, "type");
             if (!t) t = (char*)g_hash_table_lookup(attributes, "t");
+            if (!t) t = (char*)g_hash_table_lookup(attributes, "class");
             char *s = (char*)g_hash_table_lookup(attributes, "style");
             char *a = (char*)g_hash_table_lookup(attributes, "automationId");