Back to index

lightning-sunbird  0.9+nobinonly
nsAccessibilityAtomList.h
Go to the documentation of this file.
00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
00002 /* ***** BEGIN LICENSE BLOCK *****
00003  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
00004  *
00005  * The contents of this file are subject to the Mozilla Public License Version
00006  * 1.1 (the "License"); you may not use this file except in compliance with
00007  * the License. You may obtain a copy of the License at
00008  * http://www.mozilla.org/MPL/
00009  *
00010  * Software distributed under the License is distributed on an "AS IS" basis,
00011  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
00012  * for the specific language governing rights and limitations under the
00013  * License.
00014  *
00015  * The Original Code is mozilla.org code.
00016  *
00017  * The Initial Developer of the Original Code is
00018  * Netscape Communications Corporation.
00019  * Portions created by the Initial Developer are Copyright (C) 2003
00020  * the Initial Developer. All Rights Reserved.
00021  *
00022  * Contributor(s):
00023  *   Original Author: Aaron Leventhal (aaronl@netscape.com)
00024  *
00025  * Alternatively, the contents of this file may be used under the terms of
00026  * either of the GNU General Public License Version 2 or later (the "GPL"),
00027  * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
00028  * in which case the provisions of the GPL or the LGPL are applicable instead
00029  * of those above. If you wish to allow use of your version of this file only
00030  * under the terms of either the GPL or the LGPL, and not to allow others to
00031  * use your version of this file under the terms of the MPL, indicate your
00032  * decision by deleting the provisions above and replace them with the notice
00033  * and other provisions required by the GPL or the LGPL. If you do not delete
00034  * the provisions above, a recipient may use your version of this file under
00035  * the terms of any one of the MPL, the GPL or the LGPL.
00036  *
00037  * ***** END LICENSE BLOCK ***** */
00038 
00039 /******
00040 
00041   This file contains the list of all accessibility nsIAtoms and their values
00042 
00043   It is designed to be used as inline input to nsAccessibilityAtoms.cpp *only*
00044   through the magic of C preprocessing.
00045 
00046   All entires must be enclosed in the macro ACCESSIBILITY_ATOM which will have cruel
00047   and unusual things done to it
00048 
00049   It is recommended (but not strictly necessary) to keep all entries
00050   in alphabetical order
00051 
00052   The first argument to ACCESSIBILITY_ATOM is the C++ identifier of the atom
00053   The second argument is the string value of the atom
00054 
00055  ******/
00056 
00057 
00058   // Header info
00059 ACCESSIBILITY_ATOM(headerContentLanguage, "content-language")
00060 
00061   // Alphabetical list of frame types
00062 ACCESSIBILITY_ATOM(blockFrame, "BlockFrame")
00063 ACCESSIBILITY_ATOM(inlineFrame, "InlineFrame")
00064 ACCESSIBILITY_ATOM(objectFrame, "ObjectFrame")
00065 ACCESSIBILITY_ATOM(textFrame, "TextFrame")
00066 
00067   // Alphabetical list of tag names
00068 ACCESSIBILITY_ATOM(a, "a")
00069 ACCESSIBILITY_ATOM(abbr, "abbr")
00070 ACCESSIBILITY_ATOM(acronym, "acronym")
00071 ACCESSIBILITY_ATOM(area, "area")
00072 ACCESSIBILITY_ATOM(blockquote, "blockquote")
00073 ACCESSIBILITY_ATOM(br, "br")
00074 ACCESSIBILITY_ATOM(body, "body")
00075 ACCESSIBILITY_ATOM(caption, "caption")
00076 ACCESSIBILITY_ATOM(description, "description")    // XUL
00077 ACCESSIBILITY_ATOM(dd, "dd")
00078 ACCESSIBILITY_ATOM(dl, "dl")
00079 ACCESSIBILITY_ATOM(dt, "dt")
00080 ACCESSIBILITY_ATOM(form, "form")
00081 ACCESSIBILITY_ATOM(h1, "h1")
00082 ACCESSIBILITY_ATOM(h2, "h2")
00083 ACCESSIBILITY_ATOM(h3, "h3")
00084 ACCESSIBILITY_ATOM(h4, "h4")
00085 ACCESSIBILITY_ATOM(h5, "h5")
00086 ACCESSIBILITY_ATOM(h6, "h6")
00087 ACCESSIBILITY_ATOM(img, "img")
00088 ACCESSIBILITY_ATOM(input, "input")
00089 ACCESSIBILITY_ATOM(label, "label")
00090 ACCESSIBILITY_ATOM(li, "li")
00091 ACCESSIBILITY_ATOM(link, "link")
00092 ACCESSIBILITY_ATOM(map, "map")
00093 ACCESSIBILITY_ATOM(math, "math")
00094 ACCESSIBILITY_ATOM(menu, "menu")    // XUL
00095 ACCESSIBILITY_ATOM(object, "object")
00096 ACCESSIBILITY_ATOM(ol, "ol")
00097 ACCESSIBILITY_ATOM(optgroup, "optgroup")
00098 ACCESSIBILITY_ATOM(option, "option")
00099 ACCESSIBILITY_ATOM(q, "q")
00100 ACCESSIBILITY_ATOM(select, "select")
00101 ACCESSIBILITY_ATOM(svg, "svg")
00102 ACCESSIBILITY_ATOM(table, "table")
00103 ACCESSIBILITY_ATOM(tbody, "tbody")
00104 ACCESSIBILITY_ATOM(td, "td")
00105 ACCESSIBILITY_ATOM(th, "th")
00106 ACCESSIBILITY_ATOM(tfoot, "tfoot")
00107 ACCESSIBILITY_ATOM(thead, "thead")
00108 ACCESSIBILITY_ATOM(toolbaritem, "toolbaritem")   // XUL
00109 ACCESSIBILITY_ATOM(tr, "tr")
00110 ACCESSIBILITY_ATOM(ul, "ul")
00111 
00112   // DHTML accessibility relationship attributes
00113 ACCESSIBILITY_ATOM(controls, "controls")
00114 ACCESSIBILITY_ATOM(describedby, "describedby")
00115 ACCESSIBILITY_ATOM(flowto, "flowto")
00116 ACCESSIBILITY_ATOM(labelledby, "labelledby")
00117 
00118   // Alphabetical list of attributes
00119 ACCESSIBILITY_ATOM(acceltext, "acceltext")
00120 ACCESSIBILITY_ATOM(accesskey, "accesskey")
00121 ACCESSIBILITY_ATOM(alt, "alt")
00122 ACCESSIBILITY_ATOM(control, "control")
00123 ACCESSIBILITY_ATOM(data, "data")
00124 ACCESSIBILITY_ATOM(disabled, "disabled")
00125 ACCESSIBILITY_ATOM(_for, "for")
00126 ACCESSIBILITY_ATOM(href, "href")
00127 ACCESSIBILITY_ATOM(id, "id")
00128 ACCESSIBILITY_ATOM(lang, "lang")
00129 ACCESSIBILITY_ATOM(multiline, "multiline")
00130 ACCESSIBILITY_ATOM(name, "name")
00131 ACCESSIBILITY_ATOM(onclick, "onclick")
00132 ACCESSIBILITY_ATOM(readonly, "readonly")
00133 ACCESSIBILITY_ATOM(src, "src")
00134 ACCESSIBILITY_ATOM(summary, "summary")
00135 ACCESSIBILITY_ATOM(tabindex, "tabindex")
00136 ACCESSIBILITY_ATOM(title, "title")
00137 ACCESSIBILITY_ATOM(tooltiptext, "tooltiptext")
00138 ACCESSIBILITY_ATOM(type, "type")
00139 ACCESSIBILITY_ATOM(value, "value")
00140 
00141   // DHTML accessibility attributes
00142 ACCESSIBILITY_ATOM(checked, "checked")
00143 ACCESSIBILITY_ATOM(expanded, "expanded")
00144 ACCESSIBILITY_ATOM(invalid, "invalid")
00145 ACCESSIBILITY_ATOM(multiselect, "multiselect")
00146 ACCESSIBILITY_ATOM(required, "required")
00147 ACCESSIBILITY_ATOM(role, "role")
00148 ACCESSIBILITY_ATOM(selected, "selected")
00149 ACCESSIBILITY_ATOM(valuenow, "valuenow")    // For DHTML widget values