diff --git a/README.md b/README.md index fce258d..433e90c 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# coga.personalisation +## coga.personalisation This is a project to help personlisation for any use - including people with learning and memory issues. It is described more at https://www.w3.org/WAI/PF/cognitive-a11y-tf/wiki/Easy_Personalization It is made of 3 parts. @@ -7,3 +7,107 @@ It is made of 3 parts. note we are still working on it. more items will come/change 3. An HTML page that uses some of the new aria syntax 4. Scripts that a web auther can use or include that read the user settings in the JSON files and adapt the page for the user needs + +##JSON-Skin Documentation + +* Proposed default settings for @aria-importance in JSON script. +* compose(default importance = "critical") + +All the key-value in the JSON file is followed the https://rawgit.com/w3c/coga/master/issue-papers/links-buttons.html + +###Guideline for creating the JSON profile: + +```json +{ + "@aria-function"('@role','@tag'): [{ + "offName": "function", + "type": ["proposed for the functions target widge type."], + "name": "function name", + "inherits": "boolean", + "descendents":[ + { + "descendentTag":"string, tag", + "settings": + { + "css": [ + { + "propertyName":"propertyName", + "value":"value" + + } + ] + } + } + ], + "settings": { + "shortcut": "Shortcut setting for this function", + "longdesc": "description for settings", + "tooltip": "tooltip for display", + "text": "text for display", + "Symbol": { + "url": "url symbol", + "creator": { + "name": "creator name", + "url": "creator url" + + }, + "license": { + "name": "licenses", + "url": "licenses url" + }, + + "settings":{ + "width":"num of px", + "height":"num of px", + "margin":"value", + "padding":"value" + } + } + + "@aria-hidden": "boolean", + "css": "css override setting" + } + }], + + + + + "@aria-importance": + { + "critical ('critical','high','med','low')": { + "settings": { + "@aria-hidden": "boolean", + "css": "css override setting" + } + } + } + +} + +``` + +##Demo Website ([Personalised Clothes - Contact Us](https://rawgit.com/ayelet-seeman/coga.personalisation/ExampleWebPage/contactUs.html)) + +###button functions: +- send email +- reset contact us form +- send contact us form + +###links functions: +- home +- contact us +- site map +- product +- services + +###form control +- name +- phone +- email +- subject +- message + +###Example Profile +- Example 1 [JSON-profile](https://github.com/ayelet-seeman/coga.personalisation/blob/JSON-Script/profile_exmaple_1.json) +- Example 2 [JSON-profile](https://github.com/ayelet-seeman/coga.personalisation/blob/JSON-Script/profile_exmaple_2.json) + diff --git a/json_profile_1.json b/json_profile_1.json new file mode 100644 index 0000000..94f27fc --- /dev/null +++ b/json_profile_1.json @@ -0,0 +1,215 @@ +{ + "description": { + "use case": "write and send an email message.", + "disability": "Mild Intellectual Disability", + "age group": "older than millennials", + "locationzation": "UK&US", + "language": "English" + + }, + + "coga.profile": { + "coga:name": "USMCI", + "coga:desc": "proof of concept for Mild Interllectual Disability to write and send an email message", + "coga:local": ["US", "UK"], + "@aria-function": [{ + "function": "compose", + "type": ["button"], + "name": "compose button", + "inherits": "false", + "settings": { + "shortcut": "SHIFT + C", + "longdesc": "this button creates a new email message.", + "tooltip": "create text", + "text": "create text now", + "Symbol": [{ + "url": "https://d30y9cdsu7xlg0.cloudfront.net/png/139286-200.png", + "creator": { + "name": "Daniel Boros", + "url": "https://thenounproject.com/tonetype/" + }, + "license": [{ + "name": "Creative Commons", + "url": "http://creativecommons.org/licenses/by/3.0/us/" + }] + }], + "@aria-hidden": "false", + "css": "visibility:visible;size:2em;border: 5px solid" + } + }, { + "function": "delete", + "type": ["button"], + "name": "delete button", + "inherits": "false", + "settings": { + "shortcut": "SHIFT + D", + "longdesc": "this button delete the emial message.", + "tooltip": "delete text", + "text": "delete", + "Symbol": [{ + "url": "https://d30y9cdsu7xlg0.cloudfront.net/png/101601-200.png", + "creator": { + "name": "Muneer A.Safiah", + "url": "https://thenounproject.com/mabusafiah/" + }, + "license": [{ + "name": "Creative Commons", + "url": "http://creativecommons.org/licenses/by/3.0/us/" + }] + }], + "@aria-hidden": "false", + "css": "visibility:visible;size:2em;border: 5px solid" + } + }, { + "function": "next", + "type": ["button"], + "name": "next button", + "inherits": "false", + "settings": { + "shortcut": "SHIFT + N", + "longdesc": "this button lets you to go forward", + "tooltip": "go forward", + "text": "next", + "Symbol": [{ + "url": "https://d30y9cdsu7xlg0.cloudfront.net/png/101601-200.png", + "creator": { + "name": "Creative Stall", + "url": "https://thenounproject.com/creativestall/" + }, + "license": [{ + "name": "Creative Commons", + "url": "http://creativecommons.org/licenses/by/3.0/us/" + }] + }], + "@aria-hidden": "false", + "css": "visibility:visible;size:2em;border: 5px solid" + } + }, { + "function": "previous", + "type": ["button"], + "name": "previous button", + "inherits": "false", + "settings": { + "shortcut": "SHIFT + P", + "longdesc": "this button lead you to go back.", + "tooltip": "back back", + "text": "previous", + "Symbol": [{ + "url": "https://d30y9cdsu7xlg0.cloudfront.net/png/174879-200.png", + "creator": { + "name": "Creative Stall", + "url": "https://thenounproject.com/creativestall/" + }, + "license": [{ + "name": "Creative Commons", + "url": "http://creativecommons.org/licenses/by/3.0/us/" + }] + }], + "@aria-hidden": "false", + "css": "visibility:visible;size:2em;border: 5px solid" + } + }, { + "function": "submit", + "type": ["button"], + "name": "submit button", + "inherits": "false", + "settings": { + "shortcut": "SHIFT + S", + "longdesc": "this button send text.", + "tooltip": "send text", + "text": "submit", + "Symbol": [{ + "url": "https://d30y9cdsu7xlg0.cloudfront.net/png/102500-200.png", + "creator": { + "name": "Rodolfo Alvarez", + "url": "https://thenounproject.com/dg.rodolfoalvarez/" + }, + "license": [{ + "name": "Creative Commons", + "url": "http://creativecommons.org/licenses/by/3.0/us/" + }] + }], + "@aria-hidden": "false", + "css": "visibility:visible;size:2em;border: 5px solid" + } + }, { + "function": "undo", + "type": ["button"], + "name": "undo button", + "inherits": "false", + "settings": { + "shortcut": "SHIFT + U", + "longdesc": "this button undo your email writing.", + "tooltip": "Back up", + "text": "undo", + "Symbol": [{ + "url": "https://d30y9cdsu7xlg0.cloudfront.net/png/14157-200.png", + "creator": { + "name": "Sergey Furtaev", + "url": "https://thenounproject.com/furtaev/" + }, + "license": [{ + "name": "Creative Commons", + "url": "http://creativecommons.org/licenses/by/3.0/us/" + }] + }], + "@aria-hidden": "false", + "css": "visibility:visible;size:2em;border: 5px solid" + } + }, { + "function": "cancel", + "type": ["button"], + "name": "cancel button", + "inherits": "false", + "settings": { + "shortcut": "SHIFT + C", + "longdesc": "this button allows you to cancel the email.", + "tooltip": "Stop", + "text": "cancel now", + "Symbol": [{ + "url": "https://d30y9cdsu7xlg0.cloudfront.net/png/15471-200.png", + "creator": { + "name": "Herbert Spencer", + "url": "https://thenounproject.com/hspencer" + }, + "license": [{ + "name": "Creative Commons", + "url": "http://creativecommons.org/licenses/by/3.0/us/" + }] + }], + "@aria-hidden": "false", + "css": "visibility:visible;size:2em;border: 5px solid" + } + }] + }, + + "@aria-importance": [{ + "critical": { + "settings": [{ + "@aria-hidden": "false", + "css": "visibility:visible;" + }] + } + }, { + "high": { + "settings": [{ + "@aria-hidden": "false", + "css": "visibility:visible;" + }] + } + }, { + "med": { + "settings": [{ + "@aria-hidden": "true", + "css": "visibility:none;" + }] + } + }, { + "low": { + "settings": [{ + "@aria-hidden": "true", + "css": "visibility:hide;" + }] + } + }] +} \ No newline at end of file diff --git a/json_skin.json b/json_skin.json new file mode 100644 index 0000000..dd16016 --- /dev/null +++ b/json_skin.json @@ -0,0 +1,2448 @@ +{ + "hello":"world", + "coga:name": "USMCI", + "coga:desc": "helpful for age appropriate forgetfulness", + "coga:local": "US", + "@aria-function": [{ + "offName": "compose", + "type": ["button"], + "name": "compose button", + "inherits": "false", + "settings": { + "shortcut": "SHIFT + C", + "longdesc": "this button writes or creates your new work.", + "tooltip": "compose", + "text": "compose now", + "Symbol": { + "url": "http://cdn4.iconfinder.com/data/icons/miu/22/common_new_edit_compose_-128.png", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "delete", + "type": ["button"], + "name": "delete button", + "inherits": "false", + "settings": { + "shortcut": "SHIFT + D", + "longdesc": "this button delete your work.", + "tooltip": "delete", + "text": "delete", + "Symbol": { + "url": "http://cdn4.iconfinder.com/data/icons/miu/23/editor_trash_delete_recycle_bin-64.png", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "next", + "type": ["button"], + "name": "next button", + "inherits": "false", + "settings": { + "shortcut": "SHIFT + N", + "longdesc": "this button lead you to move to next item or page.", + "tooltip": "move to next", + "text": "next", + "Symbol": { + "url": "http://cdn4.iconfinder.com/data/icons/miu/22/circle_arrow-forward_next-128.png", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "previous", + "type": ["button"], + "name": "previous button", + "inherits": "false", + "settings": { + "shortcut": "SHIFT + P", + "longdesc": "this button lead you to move to previous item or page.", + "tooltip": "move back to previous", + "text": "previous", + "Symbol": { + "url":"http://cdn4.iconfinder.com/data/icons/miu/22/circle_arrow-back_previous-128.png", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "submit", + "type": ["button"], + "name": "submit button", + "inherits": "false", + "settings": { + "shortcut": "SHIFT + S", + "longdesc": "this button submit your work.", + "tooltip": "submit", + "text": "submit now", + "Symbol": { + "url": "https://cloud.githubusercontent.com/assets/10908915/9036694/70799212-39ec-11e5-8c00-2aca9567f11c.png", + "creator": { + "name": "Surenda Jayawardena, The Noun Project", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "undo", + "type": ["button"], + "name": "undo button", + "inherits": "false", + "settings": { + "shortcut": "SHIFT + U", + "longdesc": "this button undo your latest work.", + "tooltip": "undo", + "text": "undo now", + "Symbol": { + "url": "http://cdn4.iconfinder.com/data/icons/ionicons/512/icon-ios7-undo-128.png", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "cancel", + "type": ["button"], + "name": "cancel button", + "inherits": "false", + "settings": { + "shortcut": "SHIFT + C", + "longdesc": "this button allows you to cancel your current work.", + "tooltip": "cancel", + "text": "cancel now", + "Symbol": { + "url": "http://cdn1.iconfinder.com/data/icons/squarenav/480/close_square_black-128.png", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, + + + { + "offName": "add label", + "type": ["button"], + "name": "add label button", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this button allows you to add label.", + "tooltip": "add label", + "text": "add label", + "Symbol": { + "url": "http://cdn4.iconfinder.com/data/icons/48-bubbles/48/05.Tag-128.png", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, + + { + "offName": "move", + "type": ["button"], + "name": "move button", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this button allows you to move the items.", + "tooltip": "move", + "text": "move", + "Symbol": { + "url": "http://cdn2.iconfinder.com/data/icons/3_Minicons-Free-_Pack/46/move.png", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "view", + "type": ["button"], + "name": "view button", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this button allows you to view the items.", + "tooltip": "view", + "text": "view", + "Symbol": { + "url": "http://cdn0.iconfinder.com/data/icons/faticons-2/29/view6-128.png", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "save", + "type": ["button"], + "name": "save button", + "inherits": "false", + "settings": { + "shortcut": "SHIFT + S", + "longdesc": "this button saves your work. Save often and do not lose your work", + "tooltip": "save", + "text": "save now", + "Symbol": { + "url": "http://icons.iconarchive.com/icons/custom-icon-design/flatastic-9/32/Save-icon.png", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "send", + "type": ["button"], + "name": "send button", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this button allows you to send your work.", + "tooltip": "send", + "text": "send now", + "Symbol": { + "url": "http://cdn3.iconfinder.com/data/icons/faticons/32/send-01-128.png", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "received", + "type": ["button"], + "name": "received button", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this button gets all received messages or emails.", + "tooltip": "received", + "text": "received", + "Symbol": { + "url": "http://cdn4.iconfinder.com/data/icons/meBaze-Freebies/128/recieve-mail.png", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "sent", + "type": ["button"], + "name": "sent button", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this button gets all sent messages or emails.", + "tooltip": "sent", + "text": "sent", + "Symbol": { + "url": "http://cdn0.iconfinder.com/data/icons/communication-technology/500/black_envelope-128.png", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "edit", + "type": ["button"], + "name": "edit button", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this button lead you to edit your work.", + "tooltip": "edit", + "text": "edit", + "Symbol": { + "url": "http://cdn4.iconfinder.com/data/icons/miu/23/common_new_edit_compose-128.png", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "reply", + "type": ["button"], + "name": "reply button", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this button reply current message or comment.", + "tooltip": "reply", + "text": "reply", + "Symbol": { + "url": "http://cdn1.iconfinder.com/data/icons/material-core/24/reply-all-128.png", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "forward", + "type": ["button"], + "name": "forward button", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this button lead you to forward current message or comment.", + "tooltip": "forward", + "text": "forward", + "Symbol": { + "url": "http://cdn2.iconfinder.com/data/icons/freecns-cumulus/16/519629-129_ArrowRight-128.png", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "my profile", + "type": ["button"], + "name": "my profile button", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this button lead you to your profile.", + "tooltip": "my profile", + "text": "my profile", + "Symbol": { + "url": "http://cdn4.iconfinder.com/data/icons/48-bubbles/48/30.User-128.png", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "upload", + "type": ["button"], + "name": "upload button", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this button lead you to upload your work or other files.", + "tooltip": "upload", + "text": "upload", + "Symbol": { + "url": "http://cdn2.iconfinder.com/data/icons/freecns-cumulus/16/519673-179_Upload-128.png", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "close", + "type": ["button"], + "name": "close button", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this button lead you to close your current work.", + "tooltip": "close", + "text": "close", + "Symbol": { + "url": "http://cdn4.iconfinder.com/data/icons/miu/22/circle_close_delete-128.png", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "more", + "type": ["button"], + "name": "more button", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this button lead you to get more information or functions.", + "tooltip": "more", + "text": "more", + "Symbol": { + "url": "http://cdn4.iconfinder.com/data/icons/miu/22/circle_more_detail-128.png", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "calendar", + "type": ["button"], + "name": "calendar button", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this button opens you calender.", + "tooltip": "calendar", + "text": "calendar", + "Symbol": { + "url": "http://cdn4.iconfinder.com/data/icons/miu/22/common_calendar_month_-128.png", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "add entry", + "type": ["button"], + "name": "add entry button", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this button lead you to add new entry.", + "tooltip": "add entry", + "text": "add entry", + "Symbol": { + "url": "https://cdn4.iconfinder.com/data/icons/miu/22/circle_add_plus-128.png", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "expand", + "type": ["button"], + "name": "expand button", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this button let you to expand current window.", + "tooltip": "expand", + "text": "expand", + "Symbol": { + "url": "http://cdn4.iconfinder.com/data/icons/minicons-3/640/fullscreen_black-128.png", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "unexpanded", + "type": ["button"], + "name": "unexpanded button", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this button let you to unexpand current window.", + "tooltip": "unexpanded", + "text": "unexpanded", + "Symbol": { + "url": "http://cdn4.iconfinder.com/data/icons/minicons-3/640/exit_fullscreen_black-128.png", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "open", + "type": ["button"], + "name": "open button", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this button open your work.", + "tooltip": "open", + "text": "open", + "Symbol": { + "url": "http://cdn1.iconfinder.com/data/icons/hawcons/32/698362-icon-2-mail-envelope-open-128.png", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "new", + "type": ["button"], + "name": "new button", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this button creates new work.", + "tooltip": "new", + "text": "new", + "Symbol": { + "url": "http://cdn0.iconfinder.com/data/icons/gcons-2/23/new10-128.png", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "print", + "type": ["button"], + "name": "print button", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this button prints your work.", + "tooltip": "print", + "text": "print", + "Symbol": { + "url": "http://cdn4.iconfinder.com/data/icons/miu/22/common_printer_print_-128.png", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "settings", + "type": ["button"], + "name": "settings button", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this button leads you to setting.", + "tooltip": "settings", + "text": "settings", + "Symbol": { + "url": "http://cdn1.iconfinder.com/data/icons/material-core/18/settings-applications-128.png", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + } + + , { + "offName": "home", + "type": ["link"], + "name": "home link", + "inherits": "false", + "settings": { + "shortcut": "SHIFT+H", + "longdesc": "this links to the home page.", + "tooltip": "home", + "text": "home", + "Symbol": { + "url": "https://cloud.githubusercontent.com/assets/10908915/9038627/6c2fda60-39fe-11e5-8f07-8fd95e1abb41.png", + "creator": { + "name": "Jardson Almeida, The Noun Project", + "url": "" + }, + "settings":{ + "width":"43", + "height":"43", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } + ] + + + } + }, { + "offName": "contact us", + "type": ["link"], + "name": "contact us link", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this links to the contact us page.", + "tooltip": "contact us", + "text": "contact us", + "Symbol": { + "url": "", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "our phone", + "type": ["link", "text"], + "name": "our phone link", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this links to our phone page.", + "tooltip": "our phone", + "text": "our phone", + "Symbol": { + "url": "", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "our email", + "type": ["link", "text"], + "name": "our email link", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this links to the our email page.", + "tooltip": "our email", + "text": "our email", + "Symbol": { + "url": "", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "site map", + "type": ["link"], + "name": "site map link", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this links to the site map page.", + "tooltip": "site map", + "text": "site map", + "Symbol": { + "url": "", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "help", + "type": ["link"], + "name": "help link", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this links to the help page.", + "tooltip": "help", + "text": "help", + "Symbol": { + "url": "", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "about us", + "type": ["link"], + "name": "about us link", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this links to the about us page.", + "tooltip": "about us", + "text": "about us", + "Symbol": { + "url": "", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "terms", + "type": ["link"], + "name": "terms link", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this links to the terms page.", + "tooltip": "terms", + "text": "terms", + "Symbol": { + "url": "", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "tools", + "type": ["link"], + "name": "tools link", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this links to the tools page.", + "tooltip": "tools", + "text": "tools", + "Symbol": { + "url": "", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "comment", + "type": ["link"], + "name": "comment link", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this links to the comment page.", + "tooltip": "comment", + "text": "comment", + "Symbol": { + "url": "", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "language", + "type": ["link"], + "name": "language link", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this links to the language page.", + "tooltip": "language", + "text": "language", + "Symbol": { + "url": "", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "sign in", + "type": ["link"], + "name": "sign in link", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this links to the sign in.", + "tooltip": "sign in", + "text": "sign in", + "Symbol": { + "url": "", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "sign up", + "type": ["link"], + "name": "sign up link", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this links to the sign up.", + "tooltip": "sign up", + "text": "sign up", + "Symbol": { + "url": "", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "product", + "type": ["link"], + "name": "product link", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this links to the product.", + "tooltip": "product", + "text": "oproduct", + "Symbol": { + "url": "", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "services", + "type": ["link"], + "name": "services link", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this links to the services.", + "tooltip": "services", + "text": "services", + "Symbol": { + "url": "", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "social", + "type": ["link"], + "name": "social link", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this links to the social.", + "tooltip": "social", + "text": "social", + "Symbol": { + "url": "", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "post address", + "type": ["link", "text"], + "name": "post address link", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this links to the post address.", + "tooltip": "post address", + "text": "post address", + "Symbol": { + "url": "", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "first name", + "type": ["form control"], + "name": "first name form control", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this is the form control for first name field.", + "tooltip": "first name", + "text": "first name", + "Symbol": { + "url": "", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "family name", + "type": ["form control"], + "name": "family name form control", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this is the form control for family name field.", + "tooltip": "family name", + "text": "family name", + "Symbol": { + "url": "", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "initial", + "type": ["form control"], + "name": "initial form control", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this is the form control for initial field.", + "tooltip": "initial", + "text": "initial", + "Symbol": { + "url": "", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "phone", + "type": ["form control"], + "name": "phone form control", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this is the form control for phone field.", + "tooltip": "phone", + "text": "phone", + "Symbol": { + "url": "", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "cell phone", + "type": ["form control"], + "name": "cell phone form control", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this is the form control for cell phone field.", + "tooltip": "cell phone", + "text": "cell phone", + "Symbol": { + "url": "", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "address", + "type": ["form control"], + "name": "address form control", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this is the form control for address field.", + "tooltip": "address", + "text": "address", + "Symbol": { + "url": "", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "city", + "type": ["form control"], + "name": "city form control", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this is the form control for city field.", + "tooltip": "city", + "text": "city", + "Symbol": { + "url": "", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "state", + "type": ["form control"], + "name": "state form control", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this is the form control for state field.", + "tooltip": "state", + "text": "state", + "Symbol": { + "url": "", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "country", + "type": ["form control"], + "name": "country form control", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this is the form control for country field.", + "tooltip": "country", + "text": "country", + "Symbol": { + "url": "", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "post code", + "type": ["form control"], + "name": "post code form control", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this is the form control for post code field.", + "tooltip": "post code", + "text": "post code", + "Symbol": { + "url": "", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "credit card", + "type": ["form control"], + "name": "credit card form control", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this is the form control for credit card field.", + "tooltip": "credit card", + "text": "credit card", + "Symbol": { + "url": "", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "expiry date", + "type": ["form control"], + "name": "expiry date form control", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this is the form control for expiry date field.", + "tooltip": "expiry date", + "text": "expiry date", + "Symbol": { + "url": "", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "birth date", + "type": ["form control"], + "name": "birth date form control", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this is the form control for birth date field.", + "tooltip": "birth date", + "text": "birth date", + "Symbol": { + "url": "", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "month", + "type": ["form control"], + "name": "month form control", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this is the form control for month field.", + "tooltip": "month", + "text": "month", + "Symbol": { + "url": "", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "year", + "type": ["form control"], + "name": "year form control", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this is the form control for year field.", + "tooltip": "year", + "text": "year", + "Symbol": { + "url": "", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, { + "offName": "day", + "type": ["form control"], + "name": "day form control", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this is the form control for day field.", + "tooltip": "day", + "text": "day", + "Symbol": { + "url": "", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + } + ], + + "@role": [ + { + "offName": "navigation", + "descendents":[ + { + "descendentTag":"a", + "settings": + { + "css": [ + { + "propertyName":"font-size", + "value":"1.7em" + + }, + { + "propertyName":"border-color", + "value":"black" + + }, + { + "propertyName":"color", + "value":"black" + + }, + { + "propertyName":"border-style", + "value":"solid" + + }, + { + "propertyName":"font-family", + "value":"Gotham, \"Helvetica Neue\", Helvetica, Arial, sans-serif" + + }, + + { + "propertyName":"text-transform", + "value":"none" + + }, + { + "propertyName":"width", + "value":"auto" + + }, + { + "propertyName":"background-color", + "value":" #dfe9e9" + + } + + + ] + + + } + } + ] + }, +{ + "offName": "form", + "inherits": "false", + "settings": { + + "Symbol": { + "url": "", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + + "css": [ + { + "propertyName":"background-color", + "value":"white" + + }, + + { + "propertyName":"width", + "value":"50%" + } + + + ] + + + } + } + ], + + "@tagName": [ + { + "inherits": "false", + "settings": { + + "Symbol": { + "url": "", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + + "css": [ + { + "propertyName":"font-size", + "value":"1.7em" + + }, + { + "propertyName":"border-color", + "value":"black" + + }, + { + "propertyName":"color", + "value":"black" + + }, + { + "propertyName":"border-style", + "value":"solid" + + }, + { + "propertyName":"font-family", + "value":"Gotham, \"Helvetica Neue\", Helvetica, Arial, sans-serif" + + }, + + { + "propertyName":"text-transform", + "value":"none" + + }, + { + "propertyName":"width", + "value":"auto" + + }, + { + "propertyName":"background-color", + "value":" #dfe9e9" + + } + + + ] + + + }, + "offName": "BUTTON", + "descendents":[ + + + ] + }, + +{ + "inherits": "false", + "settings": { + + "Symbol": { + "url": "", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + + "css": [ + { + "propertyName":"font-size", + "value":"1.5em" + + } + + + ] + + + }, + "offName": "LABEL", + "descendents":[ + + + ] + }, + +{ + "inherits": "false", + "settings": { + + "Symbol": { + "url": "", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + + "css": [ + { + "propertyName":"font-size", + "value":"1.5em" + + } + + + ] + + + }, + "offName": "INPUT", + "descendents":[ + + + ] + }, + +{ + "inherits": "false", + "settings": { + + "Symbol": { + "url": "", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + + "css": [ + { + "propertyName":"font-size", + "value":"1.5em" + + } + + + ] + + + }, + "offName": "TEXTAREA", + "descendents":[ + + + ] + }, + +{ + "offName": "H1", + "inherits": "false", + "settings": { + + "Symbol": { + "url": "", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + + "css": [ + { + "propertyName":"font-size", + "value":"2.5em" + + } + + + ] + + + }, + "descendents":[ + + + ] + }, + +{ + "offName": "P", + "inherits": "false", + "settings": { + + "Symbol": { + "url": "", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + + "css": [ + { + "propertyName":"font-size", + "value":"1.5em" + + } + + + ] + + + }, + "descendents":[ + + + ] + }, +{ + "offName": "H2", + "inherits": "false", + "settings": { + + "Symbol": { + "url": "", + "creator": { + "name": "", + "url": "" + }, + "settings":{ + "width":"", + "height":"", + "margin":"", + "padding":"" + } + }, + + "css": [ + { + "propertyName":"font-size", + "value":"2em" + + } + + + ] + + + }, + "descendents":[ + + + ] + } + + ], + + "@aria-importance": { + "critical": { + "settings": { + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, + + "high": { + "settings": { + "@aria-hidden": "false", + "css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, + + "med": { + "settings": { + "@aria-hidden": "true","css": [ + { + "propertyName":"", + "value":"" + + } +] + } + }, + + "low": { + "settings": { + "@aria-hidden": "true","css": [ + { + "propertyName":"", + "value":"" + + } +] + } + } + } +} diff --git a/profile_exmaple_1.json b/profile_exmaple_1.json new file mode 100644 index 0000000..14d9dd0 --- /dev/null +++ b/profile_exmaple_1.json @@ -0,0 +1,348 @@ +{ + "coga.profile": { + "coga:name": "USMCI", + "coga:desc": "helpful for age appropriate forgetfulness", + "coga:local": "US", + "@aria-function": [{ + "function": "send", + "type": ["button"], + "name": "send button", + "inherits": "false", + "settings": { + "shortcut": "SHIFT+S", + "longdesc": "this button allows you to send your the message.", + "tooltip": "send", + "text": "send now", + "Symbol": [{ + "url": "https://d30y9cdsu7xlg0.cloudfront.net/png/102500-200.png", + "creator": { + "name": "Rodolfo Alvarez", + "url": "https://thenounproject.com/dg.rodolfoalvarez/" + }, + "license": [{ + "name": "Creative Commons", + "url": "http://creativecommons.org/licenses/by/3.0/us/" + }] + }], + "@aria-hidden": "false", + "css": "visibility:visible;size:2em; border: 5px solid" + } + }, { + "function": "reset", + "type": ["button"], + "name": "reset button", + "inherits": "false", + "settings": { + "shortcut": "SHIFT+R", + "longdesc": "this button allows you to reset of the feilds in your the message.", + "tooltip": "reset", + "text": "reset now", + "Symbol": [{ + "url": "https://d30y9cdsu7xlg0.cloudfront.net/png/179333-200.png", + "creator": { + "name": "Daniel Simon", + "url": "https://thenounproject.com/danielsimon/" + }, + "license": [{ + "name": "Creative Commons", + "url": "http://creativecommons.org/licenses/by/3.0/us/" + }] + }], + "@aria-hidden": "false", + "css": "visibility:visible;size:2em; border: 5px solid" + } + }, { + "function": "more", + "type": ["link"], + "name": "more option link", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this link leads you to get more options.", + "tooltip": "more options", + "text": "more options", + "Symbol": [{ + "url": "https://d30y9cdsu7xlg0.cloudfront.net/png/89800-200.png", + "creator": { + "name": "Tahsin Tahil", + "url": "https://thenounproject.com/tahiltahsin/" + }, + "license": [{ + "name": "Creative Commons", + "url": "http://creativecommons.org/licenses/by/3.0/us/" + }] + }], + "@aria-hidden": "false", + "css": "visibility:visible;size:2em;border: 5px solid" + } + }, { + "function": "less", + "type": ["link"], + "name": "less option link", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this link leads you to get less options.", + "tooltip": "less", + "text": "less options", + "Symbol": [{ + "url": "https://d30y9cdsu7xlg0.cloudfront.net/png/97264-200.png", + "creator": { + "name": "Yaroslav Samoilov", + "url": "https://thenounproject.com/Yaosamo/" + }, + "license": [{ + "name": "Creative Commons", + "url": "http://creativecommons.org/licenses/by/3.0/us/" + }] + }], + "@aria-hidden": "false", + "css": "visibility:visible;size:2em;border: 5px solid" + } + }, { + "function": "home", + "type": ["link"], + "name": "home link", + "inherits": "false", + "settings": { + "shortcut": "SHIFT+H", + "longdesc": "this links to the home page.", + "tooltip": "home", + "text": "home", + "Symbol": [{ + "url": "https://d30y9cdsu7xlg0.cloudfront.net/png/37265-200.png", + "creator": { + "name": "Danilo Celestino de Castro", + "url": "https://thenounproject.com/daniloegod/" + }, + "license": [{ + "name": "Creative Commons", + "url": "http://creativecommons.org/licenses/by/3.0/us/" + }] + }], + "@aria-hidden": "false", + "css": "visibility:visible;size:2em;border: 5px solid" + } + }, { + "function": "contact us", + "type": ["link"], + "name": "contact us link", + "inherits": "false", + "settings": { + "shortcut": "SHIFT+C", + "longdesc": "this links to the contact us page.", + "tooltip": "contact us", + "text": "contact us", + "Symbol": [{ + "url": "https://d30y9cdsu7xlg0.cloudfront.net/png/16330-200.png", + "creator": { + "name": "Martha Ormiston", + "url": "https://thenounproject.com/mrfa/" + }, + "license": [{ + "name": "Creative Commons", + "url": "http://creativecommons.org/licenses/by/3.0/us/" + }] + }], + "@aria-hidden": "false", + "css": "visibility:visible;size:2em;border: 5px solid" + } + }, { + "function": "site map", + "type": ["link"], + "name": "site map link", + "inherits": "false", + "settings": { + "shortcut": "SHIFT+M", + "longdesc": "this links to the site map page.", + "tooltip": "site map", + "text": "site map", + "Symbol": [{ + "url": "https://d30y9cdsu7xlg0.cloudfront.net/png/75035-200.png", + "creator": { + "name": "Sathish Selladurai", + "url": "https://thenounproject.com/sathishs/" + }, + "license": [{ + "name": "Creative Commons", + "url": "http://creativecommons.org/licenses/by/3.0/us/" + }] + }], + "@aria-hidden": "false", + "css": "visibility:visible;size:2em;border: 5px solid" + } + }, { + "function": "help", + "type": ["link"], + "name": "help link", + "inherits": "false", + "settings": { + "shortcut": "SHIFT+P", + "longdesc": "this links to the help page.", + "tooltip": "help", + "text": "help", + "Symbol": [{ + "url": "https://d30y9cdsu7xlg0.cloudfront.net/png/89672-200.png", + "creator": { + "name": "Consumer Financial Protection Bureau", + "url": "https://thenounproject.com/cfpb_minicons/" + }, + "license": [{ + "name": "Creative Commons", + "url": "http://creativecommons.org/licenses/by/3.0/us/" + }] + }], + "@aria-hidden": "false", + "css": "visibility:visible;size:2em;border: 5px solid" + } + }, { + "function": "product", + "type": ["link"], + "name": "product link", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this links to the product.", + "tooltip": "product", + "text": "product", + "Symbol": [{ + "url": "https://d30y9cdsu7xlg0.cloudfront.net/png/125971-200.png", + "creator": { + "name": "BraveBros.", + "url": "https://thenounproject.com/bravebros/" + }, + "license": [{ + "name": "Creative Commons", + "url": "http://creativecommons.org/licenses/by/3.0/us/" + }] + }], + "@aria-hidden": "false", + "css": "visibility:visible;size:2em;border: 5px solid" + } + }, { + "function": "services", + "type": ["link"], + "name": "services link", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this links to the services.", + "tooltip": "services", + "text": "services", + "Symbol": [{ + "url": "https://d30y9cdsu7xlg0.cloudfront.net/png/32455-200.png", + "creator": { + "name": "Christopher Smith", + "url": "https://thenounproject.com/oneafternine/" + }, + "license": [{ + "name": "Creative Commons", + "url": "http://creativecommons.org/licenses/by/3.0/us/" + }] + }], + "@aria-hidden": "false", + "css": "visibility:visible;size:2em;border: 5px solid" + } + }, { + "function": "name", + "type": ["form control"], + "name": "name form control", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this is the form control for name field.", + "tooltip": "name", + "text": "name", + "Symbol": "", + "@aria-hidden": "false", + "css": "visibility:visible;size:2em;border: 5px solid" + } + }, { + "function": "email", + "type": ["form control"], + "name": "email form control", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this is the form control for email field.", + "tooltip": "email", + "text": "email", + "Symbol": "", + "@aria-hidden": "false", + "css": "visibility:visible;size:2em;border: 5px solid" + } + }, { + "function": "subject", + "type": ["form control"], + "name": "subject form control", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this is the form control for subject field.", + "tooltip": "subject", + "text": "subject", + "Symbol": "", + "@aria-hidden": "false", + "css": "visibility:visible;size:2em;border: 5px solid" + } + }, { + "function": "message", + "type": ["form control"], + "name": "message form control", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this is the form control for message field.", + "tooltip": "message", + "text": "message", + "Symbol": "", + "@aria-hidden": "false", + "css": "visibility:visible;size:2em;border: 5px solid" + } + }, { + "function": "phone", + "type": ["form control"], + "name": "phone form control", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this is the form control for phone field.", + "tooltip": "phone", + "text": "phone", + "Symbol": "", + "@aria-hidden": "false", + "css": "visibility:visible;size:2em;border: 5px solid" + } + }] + }, + + "@aria-importance": [{ + "critical": { + "settings": [{ + "@aria-hidden": "false", + "css": "visibility:visible;" + }] + } + }, { + "high": { + "settings": [{ + "@aria-hidden": "false", + "css": "visibility:visible;" + }] + } + }, { + "med": { + "settings": [{ + "@aria-hidden": "true", + "css": "visibility:none;" + }] + } + }, { + "low": { + "settings": [{ + "@aria-hidden": "true", + "css": "visibility:none;" + }] + } + }] +} \ No newline at end of file diff --git a/profile_exmaple_2.json b/profile_exmaple_2.json new file mode 100644 index 0000000..6969c40 --- /dev/null +++ b/profile_exmaple_2.json @@ -0,0 +1,348 @@ +{ + "coga.profile": { + "coga:name": "USMCI", + "coga:desc": "helpful for age appropriate forgetfulness", + "coga:local": "US", + "@aria-function": [{ + "function": "send", + "type": ["button"], + "name": "send button", + "inherits": "false", + "settings": { + "shortcut": "SHIFT+S", + "longdesc": "this button allows you to send your the message.", + "tooltip": "send", + "text": "send now", + "Symbol": [{ + "url": "https://d30y9cdsu7xlg0.cloudfront.net/png/102500-200.png", + "creator": { + "name": "Rodolfo Alvarez", + "url": "https://thenounproject.com/dg.rodolfoalvarez/" + }, + "license": [{ + "name": "Creative Commons", + "url": "http://creativecommons.org/licenses/by/3.0/us/" + }] + }], + "@aria-hidden": "false", + "css": "visibility:visible;size:1em; border: 2px solid" + } + }, { + "function": "reset", + "type": ["button"], + "name": "reset button", + "inherits": "false", + "settings": { + "shortcut": "SHIFT+R", + "longdesc": "this button allows you to reset of the feilds in your the message.", + "tooltip": "reset", + "text": "reset now", + "Symbol": [{ + "url": "https://d30y9cdsu7xlg0.cloudfront.net/png/179333-200.png", + "creator": { + "name": "Daniel Simon", + "url": "https://thenounproject.com/danielsimon/" + }, + "license": [{ + "name": "Creative Commons", + "url": "http://creativecommons.org/licenses/by/3.0/us/" + }] + }], + "@aria-hidden": "false", + "css": "visibility:visible;size:1em; border: 2px solid" + } + }, { + "function": "more", + "type": ["link"], + "name": "more option link", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this link leads you to get more options.", + "tooltip": "more options", + "text": "more options", + "Symbol": [{ + "url": "https://d30y9cdsu7xlg0.cloudfront.net/png/89800-200.png", + "creator": { + "name": "Tahsin Tahil", + "url": "https://thenounproject.com/tahiltahsin/" + }, + "license": [{ + "name": "Creative Commons", + "url": "http://creativecommons.org/licenses/by/3.0/us/" + }] + }], + "@aria-hidden": "false", + "css": "visibility:visible;size:1em; border: 2px solid" + } + }, { + "function": "less", + "type": ["link"], + "name": "less option link", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this link leads you to get less options.", + "tooltip": "less", + "text": "less options", + "Symbol": [{ + "url": "https://d30y9cdsu7xlg0.cloudfront.net/png/97264-200.png", + "creator": { + "name": "Yaroslav Samoilov", + "url": "https://thenounproject.com/Yaosamo/" + }, + "license": [{ + "name": "Creative Commons", + "url": "http://creativecommons.org/licenses/by/3.0/us/" + }] + }], + "@aria-hidden": "false", + "css": "visibility:visible;size:1em; border: 2px solid" + } + }, { + "function": "home", + "type": ["link"], + "name": "home link", + "inherits": "false", + "settings": { + "shortcut": "SHIFT+H", + "longdesc": "this links to the home page.", + "tooltip": "home", + "text": "home", + "Symbol": [{ + "url": "https://d30y9cdsu7xlg0.cloudfront.net/png/37265-200.png", + "creator": { + "name": "Danilo Celestino de Castro", + "url": "https://thenounproject.com/daniloegod/" + }, + "license": [{ + "name": "Creative Commons", + "url": "http://creativecommons.org/licenses/by/3.0/us/" + }] + }], + "@aria-hidden": "false", + "css": "visibility:visible;size:1em; border: 2px solid" + } + }, { + "function": "contact us", + "type": ["link"], + "name": "contact us link", + "inherits": "false", + "settings": { + "shortcut": "SHIFT+C", + "longdesc": "this links to the contact us page.", + "tooltip": "contact us", + "text": "contact us", + "Symbol": [{ + "url": "https://d30y9cdsu7xlg0.cloudfront.net/png/16330-200.png", + "creator": { + "name": "Martha Ormiston", + "url": "https://thenounproject.com/mrfa/" + }, + "license": [{ + "name": "Creative Commons", + "url": "http://creativecommons.org/licenses/by/3.0/us/" + }] + }], + "@aria-hidden": "false", + "css": "visibility:visible;size:1em; border: 2px solid" + } + }, { + "function": "site map", + "type": ["link"], + "name": "site map link", + "inherits": "false", + "settings": { + "shortcut": "SHIFT+M", + "longdesc": "this links to the site map page.", + "tooltip": "site map", + "text": "site map", + "Symbol": [{ + "url": "https://d30y9cdsu7xlg0.cloudfront.net/png/75035-200.png", + "creator": { + "name": "Sathish Selladurai", + "url": "https://thenounproject.com/sathishs/" + }, + "license": [{ + "name": "Creative Commons", + "url": "http://creativecommons.org/licenses/by/3.0/us/" + }] + }], + "@aria-hidden": "false", + "css": "visibility:visible;size:1em; border: 2px solid" + } + }, { + "function": "help", + "type": ["link"], + "name": "help link", + "inherits": "false", + "settings": { + "shortcut": "SHIFT+P", + "longdesc": "this links to the help page.", + "tooltip": "help", + "text": "help", + "Symbol": [{ + "url": "https://d30y9cdsu7xlg0.cloudfront.net/png/89672-200.png", + "creator": { + "name": "Consumer Financial Protection Bureau", + "url": "https://thenounproject.com/cfpb_minicons/" + }, + "license": [{ + "name": "Creative Commons", + "url": "http://creativecommons.org/licenses/by/3.0/us/" + }] + }], + "@aria-hidden": "false", + "css": "visibility:visible;size:1em; border: 2px solid" + } + }, { + "function": "product", + "type": ["link"], + "name": "product link", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this links to the product.", + "tooltip": "product", + "text": "product", + "Symbol": [{ + "url": "https://d30y9cdsu7xlg0.cloudfront.net/png/125971-200.png", + "creator": { + "name": "BraveBros.", + "url": "https://thenounproject.com/bravebros/" + }, + "license": [{ + "name": "Creative Commons", + "url": "http://creativecommons.org/licenses/by/3.0/us/" + }] + }], + "@aria-hidden": "false", + "css": "visibility:visible;size:1em; border: 2px solid" + } + }, { + "function": "services", + "type": ["link"], + "name": "services link", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this links to the services.", + "tooltip": "services", + "text": "services", + "Symbol": [{ + "url": "https://d30y9cdsu7xlg0.cloudfront.net/png/32455-200.png", + "creator": { + "name": "Christopher Smith", + "url": "https://thenounproject.com/oneafternine/" + }, + "license": [{ + "name": "Creative Commons", + "url": "http://creativecommons.org/licenses/by/3.0/us/" + }] + }], + "@aria-hidden": "false", + "css": "visibility:visible;size:1em; border: 2px solid" + } + }, { + "function": "name", + "type": ["form control"], + "name": "name form control", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this is the form control for name field.", + "tooltip": "name", + "text": "name", + "Symbol": "", + "@aria-hidden": "false", + "css": "visibility:visible;size:1em; border: 2px solid" + } + }, { + "function": "email", + "type": ["form control"], + "name": "email form control", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this is the form control for email field.", + "tooltip": "email", + "text": "email", + "Symbol": "", + "@aria-hidden": "false", + "css": "visibility:visible;size:1em; border: 2px solid" + } + }, { + "function": "subject", + "type": ["form control"], + "name": "subject form control", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this is the form control for subject field.", + "tooltip": "subject", + "text": "subject", + "Symbol": "", + "@aria-hidden": "false", + "css": "visibility:visible;size:1em; border: 2px solid" + } + }, { + "function": "message", + "type": ["form control"], + "name": "message form control", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this is the form control for message field.", + "tooltip": "message", + "text": "message", + "Symbol": "", + "@aria-hidden": "false", + "css": "visibility:visible;size:1em; border: 2px solid" + } + }, { + "function": "phone", + "type": ["form control"], + "name": "phone form control", + "inherits": "false", + "settings": { + "shortcut": "", + "longdesc": "this is the form control for phone field.", + "tooltip": "phone", + "text": "phone", + "Symbol": "", + "@aria-hidden": "false", + "css": "visibility:visible;size:1em; border: 2px solid" + } + }] + }, + + "@aria-importance": [{ + "critical": { + "settings": [{ + "@aria-hidden": "false", + "css": "visibility:visible;" + }] + } + }, { + "high": { + "settings": [{ + "@aria-hidden": "false", + "css": "visibility:visible;" + }] + } + }, { + "med": { + "settings": [{ + "@aria-hidden": "true", + "css": "visibility:none;" + }] + } + }, { + "low": { + "settings": [{ + "@aria-hidden": "true", + "css": "visibility:none;" + }] + } + }] +} \ No newline at end of file