Skip to content

ayelet-seeman/coga.personalisation

 
 

Repository files navigation

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.

  1. Json files for user setting
  2. Aria proposal for new syntax: https://github.com/w3c/coga/blob/master/issue-papers/links-buttons.html 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:

{
        "@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)

###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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5