Search completed in 0.99 seconds.
137 results for "tabIndex":
Your results are loading. Please wait...
tabindex - HTML: Hypertext Markup Language
the tabindex global attribute indicates that its element can be focused, and where it participates in sequential keyboard navigation (usually with the tab key, hence the name).
...gation (usually with the tab key, hence the name).
...sually tabindex="-1") means that the element is not reachable via sequential keyboard navigation, but could be focused with javascript or visually by clicking with the mouse.
...And 18 more matches
HTMLOrForeignElement.tabIndex - Web APIs
the tabindex property of the htmlorforeignelement interface represents the tab order of the current element.
... the tabindex property of the htmlorforeignelement interface represents the tab order of the current element.
... the tabindex property of the htmlorforeignelement interface represents the tab order of the current element.
...And 10 more matches
tabindex - SVG: Scalable Vector Graphics
the tabindex attribute allows you to control whether an element is focusable and to define the relative order of the element for the purposes of sequential focus navigation.
... the tabindex attribute allows you to control whether an element is focusable and to define the relative order of the element for the purposes of sequential focus navigation.
...s you to control whether an element is focusable and to define the relative order of the element for the purposes of sequential focus navigation.
...And 3 more matches
tabindex - Archive of obsolete content
« xul reference home tabindex type: integer the tab order of the element.
... « xul reference home tabindex type: integer the tab order of the element.
tabIndex - Archive of obsolete content
« xul reference tabindex type: integer gets and sets the value of the tabindex attribute.
Keyboard-navigable JavaScript widgets - Accessibility
overview web applications often use javascript to mimic desktop widgets such as menus, tree views, rich text fields, and tab panels.
...ets are typically composed of <div> and <span> elements that do not, by nature, offer the same keyboard functionality that their desktop counterparts do.
...lements focusable, too.
...And 36 more matches
ARIA: grid role - Accessibility
rows of cells.
...ll is significant and can be focused using keyboard input.
...ard input.
...And 12 more matches
Keyboard - Accessibility
e important exception to this rule is if the element has role="document" applied to it, inside an interactive context (such as role="application").
...document" applied to it, inside an interactive context (such as role="application").
...nly way of returning assistive technology to a non-interactive state (often called "browse mode").
...And 10 more matches
WAI-ARIA basics - Learn web development
via xmlhttprequest, or dom apis.
...).
...g to write code that either uses non-semantic elements as buttons (or other types of control), or uses focusable controls for not quite the right purpose.
...And 8 more matches
ARIA: tab role - Accessibility
at's required above for accessible tabs with content.
...ements with tabpanel to create an interactive group of tabbed content.
... there is some basic styling applied that restyles the buttons and changes the z-index to of tab elements to give the illusion of it connecting to the tabpanel for active elements, and the illusion that inactive elements are behind the active tabpanel.
...And 8 more matches
HTML: A good basis for accessibility - Learn web development
ust used <button> elements, plus you don't get any of the default css styling that buttons get.
... css styling that buttons get.
...such advantages back in takes a bit of work (you can see an example in our fake-div-buttons.html example — also see the source code).
...And 6 more matches
HTML: A good basis for accessibility - Learn web development
ust used <button> elements, plus you don't get any of the default css styling that buttons get.
... css styling that buttons get.
...such advantages back in takes a bit of work (you can see an example in our fake-div-buttons.html example — also see the source code).
...And 6 more matches
Accessibility in React - Learn web development
eed them both below: import react, { usestate, useref, useeffect } from "react"; then declare a new ref inside the app() function.
...he app() function.
...ef(null); prepare the heading heading elements like our <h2> are not usually focusable.
...And 6 more matches
textbox (Toolkit autocomplete) - Archive of obsolete content
earchparam, completedefaultindex, completeselectedindex,crop, disableautocomplete, disabled, disablekeynavigation, enablehistory, focused, forcecomplete, highlightnonmatches, ignoreblurwhilesearching, inputtooltiptext, label, maxlength, maxrows, minresultsforpopup, nomatch, onchange, oninput, onsearchcomplete, ontextentered, ontextreverted, open, readonly,showcommentcolumn, showimagecolumn, size, tabindex, tabscrolling, timeout, type, value properties accessibletype, completedefaultindex, controller, crop, disableautocomplete, disablekeynavigation, disabled, editable, focused, forcecomplete, highlightnonmatches, ignoreblurwhilesearching, inputfield, label, maxlength, maxrows, minresultsforpopup, open, popup, popupopen, searchcount, searchparam, selectionend, selectionstart, showcommentco...
...e, value properties accessibletype, completedefaultindex, controller, crop, disableautocomplete, disablekeynavigation, disabled, editable, focused, forcecomplete, highlightnonmatches, ignoreblurwhilesearching, inputfield, label, maxlength, maxrows, minresultsforpopup, open, popup, popupopen, searchcount, searchparam, selectionend, selectionstart, showcommentcolumn, showimagecolumn,size, tabindex, tabscrolling, textlength, textvalue, timeout, type, value methods getsearchat, onsearchcomplete, ontextentered, ontextreverted, select, setselectionrange examples <textbox type="autocomplete" autocompletesearch="history"/> attributes accesskey type: character this should be set to a character that is used as a shortcut key.
...umn doesn't appear.
...And 3 more matches
Textbox (XPFE autocomplete) - Archive of obsolete content
d, forcecomplete, forcecomplete, highlightnonmatches, ignoreblurwhilesearching, ignoreblurwhilesearching, inputtooltiptext, label, maxlength, maxrows, minresultsforpopup, minresultsforpopup, nomatch, onchange, onerrorcommand, oninput, onsearchcomplete, ontextcommand, ontextentered, ontextrevert, ontextreverted, open, readonly, searchsessions, showcommentcolumn, showcommentcolumn, showpopup, size, tabindex, tabscrolling, tabscrolling, timeout, type, useraction, value properties accessible, alwaysopenpopup, autofill, autofillaftermatch, completedefaultindex, crop, disableautocomplete, disabled, editable, focused, forcecomplete, highlightnonmatches, ignoreblurwhilesearching, inputfield, issearching, iswaiting, label, maxlength, maxrows, minresultsforpopup, nomatch, open, popup, popupo...
...rmatch, completedefaultindex, crop, disableautocomplete, disabled, editable, focused, forcecomplete, highlightnonmatches, ignoreblurwhilesearching, inputfield, issearching, iswaiting, label, maxlength, maxrows, minresultsforpopup, nomatch, open, popup, popupopen, resultspopup, searchcount, searchparam, searchsessions, selectionend, selectionstart, sessioncount, showcommentcolumn, showpopup, size, tabindex, tabscrolling, textlength, textvalue, timeout, type, useraction, value methods addsession, clearresults, getdefaultsession, getresultat, getresultcount, getresultvalueat, getsession, getsessionbyname, getsessionresultat, getsessionstatusat, getsessionvalueat, removesession, select, setselectionrange, syncsessions examples (example needed) attributes accesskey type: chara...
...o: thunderbird, seamonkeyif true, the popup will be shown.
...And 3 more matches
arrowscrollbox - Archive of obsolete content
ch provides scroll arrows along its edges for scrolling through the contents of the box.
... box.
...sible controls have a disabled property which, except for menus and menuitems, is normally preferred to use of the attribute, as it may need to update additional state.
...And 3 more matches
button - Archive of obsolete content
be used to trap mouse, keyboard and other events.
...bute or by placing content inside the button.
...izontally or vertically.
...And 3 more matches
caption - Archive of obsolete content
« xul reference home [ examples | attributes | properties | methods | related ] a header for a groupbox.
... « xul reference home [ examples | attributes | properties | methods | related ] a header for a groupbox.
...lement.
...And 3 more matches
checkbox - Archive of obsolete content
s most commonly rendered as a box when the element is off and a box with a check when the element is on.
...is on.
....
...And 3 more matches
colorpicker - Archive of obsolete content
« xul reference home [ examples | attributes | properties | methods | related ] a palette of colors from which a user may select by clicking on one of the grid cells.
... « xul reference home [ examples | attributes | properties | methods | related ] a palette of colors from which a user may select by clicking on one of the grid cells.
.../* do something cool here or just say the below */ alert(e.target.nodename); } </script> <textbox id="find-text" onchange="return myfunction(event);"/> </window> preference type: id connects the element to a corresponding preference.
...And 3 more matches
datepicker - Archive of obsolete content
of the mouse.
...ler-function, 0); to queue up your event handler to run after the rest of the picker's change event handlers.
...ger which day of the week to display as the first day in the grid.
...And 3 more matches
description - Archive of obsolete content
be set either with the value attribute or by placing text inside the open and close description tags.
...de the open and close description tags.
...s allowed only for form controls.
...And 3 more matches
listbox - Archive of obsolete content
cted to contain listitem elements.
...you should instead use the richlistbox element.
... rows are selected; however, the selection highlight appears only over the text of the primary column.
...And 3 more matches
listitem - Archive of obsolete content
x.
...m element.
...nects the element to a corresponding preference.
...And 3 more matches
menuitem - Archive of obsolete content
« xul reference home [ examples | attributes | properties | methods | related ] a single choice in a menupopup element.
...but it is rendered on a menu.
...lection of the menuitem.
...And 3 more matches
menulist - Archive of obsolete content
ist element.
...rmation is available in the xul tutorial.
...pup will also be this width.
...And 3 more matches
menuseparator - Archive of obsolete content
« xul reference home [ examples | attributes | properties | methods | related ] used to create a separator between menu items.
...ethods | related ] used to create a separator between menu items.
...f this is left out, no text appears.
...And 3 more matches
preference - Archive of obsolete content
ferences element.
...ile.
...t type="text/javascript"> function myfunction(e){ /* do something cool here or just say the below */ alert(e.target.nodename); } </script> <textbox id="find-text" onchange="return myfunction(event);"/> </window> readonly type: boolean if set to true, then the user cannot change the value of the element.
...And 3 more matches
radio - Archive of obsolete content
Archive › Mozilla › XUL › radio
y be selected at a time.
... other radio buttons in the same group are turned off.
...f this is left out, no text appears.
...And 3 more matches
radiogroup - Archive of obsolete content
radio buttons.
...direct children of the radiogroup or descendants.
...uitems, is normally preferred to use of the attribute, as it may need to update additional state.
...And 3 more matches
richlistbox - Archive of obsolete content
t is used to create a list of listitems (richlistitems), similar to a listbox, but is designed to be used when the items do not contain simple text content.
...s support only single selection.
... rows are selected; however, the selection highlight appears only over the text of the primary column.
...And 3 more matches
richlistitem - Archive of obsolete content
« xul reference home [ examples | attributes | properties | methods | related ] an individual item in a richlistbox.
... « xul reference home [ examples | attributes | properties | methods | related ] an individual item in a richlistbox.
...uations where the search text is ambiguous or missing, searchlabel can be used to give context to fayt.
...And 3 more matches
scale - Archive of obsolete content
Archive › Mozilla › XUL › scale
nt the value by one unit, or the page up and page down keys to increment and decrement the value by one page, as specified by the pageincrement attribute.
...ecrement the value by one page, as specified by the pageincrement attribute.
...mb only one increment in that direction.
...And 3 more matches
tab - Archive of obsolete content
Archive › Mozilla › XUL › tab
properties | methods | related ] a single tab which should be placed inside a tabs element.
...age of the tabbox to the front.
...bs until selected" preference, the pending attribute is set on tabs until they get loaded.
...And 3 more matches
tabs - Archive of obsolete content
Archive › Mozilla › XUL › tabs
tabs.
...elements to tabs such as button, but they will receive an index.
...his tab is changed.
...And 3 more matches
textbox - Archive of obsolete content
is displayed by default.
... onfocus, oninput, placeholder, preference, readonly, rows, searchbutton, size, spellcheck, tabindex, timeout, type, value, wrap, wraparound properties accessibletype, clickselectsall, decimalplaces, decimalsymbol, defaultvalue, disabled, editor, emptytext, increment, inputfield, label, max, maxlength, min, placeholder, readonly, searchbutton, selectionend, selectionstart, size, spinbuttons, tabindex, textlength, timeout, type, value, valuenumber, wraparound methods decrease, increase, reset, select, setselectionrange style classes plain examples <vbox> <label control="your-name" value="enter your name:"/> <textbox id="your-name" value="john"/> </vbox> attributes cols type: integer for multiline textboxes, the number of columns to display.
...put type="text" spellcheck="false" /><br /> <textarea spellcheck="false"></textarea> <div contenteditable="true" spellcheck="false">i am some content</div> you can use spellcheck on input, textarea, and contenteditable elements.
...And 3 more matches
timepicker - Archive of obsolete content
9219, a change event handler may encounter erratic behavior when the time is changed using the keyboard instead of the mouse.
...vent-handler-function, 0); to queue up your event handler to run after the rest of the picker's change event handlers.
...ndicates whether to show the seconds field.
...And 3 more matches
toolbarbutton - Archive of obsolete content
where possible, provide keyboard alternatives.
...focusable by -moz-user-focus: normal.
...rizontally or vertically.
...And 3 more matches
tree - Archive of obsolete content
Archive › Mozilla › XUL › tree
l tutorial.
...rd access).
...irefox 3.5.
...And 3 more matches
Focus and Selection - Archive of obsolete content
y one element per window has the focus at a time.
...you can change the order in which elements are focused when the user presses the tab key by adding a tabindex attribute to an element.
...t with the next highest tab index.
...And 2 more matches
How to build custom form controls - Learn web development
nism has already been implemented for the click event.
...n decided upon, it's time to start building it.
... handle event binding when the document is loaded.
...And 2 more matches
TypeScript support in Svelte - Learn web development
e of the <script> section with the following: import type { todotype } from '../types/todo.type' export let todos: todotype[] we will also specify the headingel, which we used to bind to the heading tag, as an htmlelement.
...o.type' export let todos: todotype[] we will also specify the headingel, which we used to bind to the heading tag, as an htmlelement.
...specify the headingel, which we used to bind to the heading tag, as an htmlelement.
...And 2 more matches
Focus management with Vue refs - Learn web development
need a way to provide assistive technology users with information that confirms that an element was deleted.
...our list of to-do items.
...asonable place to move focus to when we delete a node.
...And 2 more matches
Using the group role - Accessibility
ed.
...vided above is one of those opinions and therefore not normative.
...es example 1: using the group role with a html tree view the snippet below shows how the group role is added directly into the html source code.
...And 2 more matches
ARIA: document role - Accessibility
generally used in complex composite widgets or applications, the document role can inform assistive technologies to switch context to a reading mode: the document role tells assistive technologies with reading or browse modes to use the document mode to read the content contained within this element.
...mplex composit widget that an assistive technology user should read using its browse or virtual reading mode, if available.
...y has a relationship to the containing composit widget.
...And 2 more matches
ARIA: button role - Accessibility
the button role should be used for clickable elements that trigger a response when activated by the user.
...g the enter or space key on the keyboard.
...using a mouse click or the space or enter key.
...And 2 more matches
Global attributes - HTML: Hypertext Markup Language
hecked for spelling errors; false, which indicates that the element should not be checked for spelling errors.
... not be reachable via sequential keyboard navigation; 0 means that the element should be focusable and reachable via sequential keyboard navigation, but its relative order is defined by the platform convention; a positive value means that the element should be focusable and reachable via sequential keyboard navigation; the order in which the elements are focused is the increasing value of the tabindex.
...igation; 0 means that the element should be focusable and reachable via sequential keyboard navigation, but its relative order is defined by the platform convention; a positive value means that the element should be focusable and reachable via sequential keyboard navigation; the order in which the elements are focused is the increasing value of the tabindex.
...And 2 more matches
What HTML features promote accessibility? - Learn web development
the following content describes specific features of html that can be used to make a web page more accessible to people with different disabilities.
... make a web page more accessible to people with different disabilities.
...ent disabilities.
... pointing devices can tab through links and, as such, links should be in a logical tabbing order.
ARIA: checkbox role - Accessibility
the checkbox role is used for checkable interactive controls.
...ontrol can only have two checked states ("checked" or "not checked"), with an indeterminate state settable via javascript.
...the aria-checked attribute dynamically when the checkbox is activated.
...ue of the aria-checked attribute and the appearance of the checkbox so it appears checked or unchecked to the sighted user examples the following example creates a simple checkbox element using css and javascript to handle the checked or unchecked status of the element.
<button>: The Button element - HTML: Hypertext Markup Language
Web › HTML › Element › button
criterion 1.4.3 | w3c understanding wcag 2.0 clicking and focus whether clicking on a <button> causes it to (by default) become focused varies by browser and os.
...efault) become focused varies by browser and os.
...x 63 chrome yes - chrome 35 yes - chrome 65 safari n/a no (even with a tabindex) safari 12 (bug 22261) internet explorer yes - internet explorer 11 n/a presto yes - opera 12 yes - opera 12 does tapping on a <button> give it focus?
... 65 safari n/a no (even with a tabindex) safari 12 (bug 22261) internet explorer yes - internet explorer 11 n/a presto yes - opera 12 yes - opera 12 does tapping on a <button> give it focus?
HTMLTextAreaElement - Web APIs
ment, and selectionstart as the first argument.
...ate for constraint validation.
...press="return checkrows(this, event);" onpaste="return false;"></textarea> </p> </form> specifications specification status comment html living standardthe definition of 'htmltextareaelement' in that specification.
Using the link role - Accessibility
tab can be used to change focus to the link, and enter used to execute the link.
... technology should handle this technique.
... has been visited before, and therefore use :visited styles (e.g.
Using the radio role - Accessibility
nts and assistive technology note: opinons may differ on how assistive technology should handle this technique.
...ided above is one of those opinions and therefore not normative.
...3 id="rg1_label">lunch options</h3> <ul class="radiogroup" id="rg1" role="radiogroup" aria-labelledby="rg1_label"> <li id="r1" tabindex="-1" role="radio" aria-checked="false"> <img role="presentation" src="radio-unchecked.gif" /> thai </li> <li id="r2" tabindex="-1" role="radio" aria-checked="false"> <img role="presentation" src="radio-unchecked.gif" /> subway </li> <li id="r3" tabindex="0" role="radio" aria-checked="true"> <img role="presentation" src="radio-checked.gif" /> radio maria </li> </ul> working examples: notes aria attributes used related aria techniques compatibility tbd: add support information for common ua and at product combinations additional resources ...
Basic form hints - Accessibility
for these cases.
...nt sets the aria-labelledby attribute to rg1_label, the id of the <h3> element on line 1, which is the label for the radio group.
...rg1_label">lunch options</h3> <ul class="radiogroup" id="rg1" role="radiogroup" aria-labelledby="rg1_label"> <li id="r1" tabindex="-1" role="radio" aria-checked="false"> <img role="presentation" src="radio-unchecked.gif" /> thai </li> <li id="r2" tabindex="-1" role="radio" aria-checked="false"> <img role="presentation" src="radio-unchecked.gif" /> subway </li> <li id="r3" tabindex="0" role="radio" aria-checked="true"> <img role="presentation" src="radio-checked.gif" /> radio maria </li> </ul> describing with aria form controls sometimes have a description associated with them, in addition to the label.
::after (:after) - CSS: Cascading Style Sheets
Web › CSS › ::after
#5bc8f7; } .ribbon::after { content: "this is a fancy orange box."; background-color: #ffba10; border-color: black; border-style: dotted; } result tooltips this example uses ::after, in conjunction with the attr() css expression and a data-descr custom data attribute, to create tooltips.
...rt keyboard users with this technique, by adding a tabindex of 0 to make each span keyboard focusable, and using a css :focus selector.
...ocusable, and using a css :focus selector.
SVG Core Attributes - SVG: Scalable Vector Graphics
Web › SVG › Attribute › Core
the svg core attributes are all the common attributes that can be specified on any svg element.
...at non-editable elements are written in or the language that editable elements should be written in.
...e elements are written in or the language that editable elements should be written in.
Index - Archive of obsolete content
style xul attributes, xul reference no summary!
... style xul properties, xul reference no summary!
Anonymous Content - Archive of obsolete content
focus events are both stopped.
... through the document.
Building accessible custom components in XUL - Archive of obsolete content
ces and assign the appropriate role attributes, and firefox handles exposing the elements properly to the underlying assistive technology.
...ibutes, and firefox handles exposing the elements properly to the underlying assistive technology.
Index - Archive of obsolete content
Archive › Mozilla › XUL › Index
52 style xul attributes, xul reference no summary!
... 845 style xul properties, xul reference no summary!
XUL Changes for Firefox 1.5 - Archive of obsolete content
rmation, see preferences system.
...references system.
menu - Archive of obsolete content
Archive › Mozilla › XUL › menu
ties | methods | related ] an element, much like a button, that is placed on a menubar.
...ayed.
CSS and JavaScript accessibility best practices - Learn web development
img; the first two lines run the functions when the mouse pointer hovers over and stops hovering over the thumbnail, respectively.
...mage, because we've included tabindex="0" on it.
Example 3 - Learn web development
this is the third example that explain how to build custom form widgets.
... this is the third example that explain how to build custom form widgets.
Advanced Svelte: Reactivity, lifecycle, accessibility - Learn web development
headingel.focus().
...et todos $: totaltodos = todos.length $: completedtodos = todos.filter(todo => todo.completed).length let headingel export function focus() { // shorter version: export const focus = () => headingel.focus() headingel.focus() } </script> <h2 id="list-heading" bind:this={headingel} tabindex="-1">{completedtodos} out of {totaltodos} items completed</h2> note that we've added a tabindex attribute to the <h2> to allow the element to receive focus programmatically.
Handling common accessibility problems - Learn web development
d when you press certain keys on the keyboard.
...ys on the keyboard.
XForms Accessibility
or 1.1 specs) but rich schwerdtfeger (distinguished engineer, swg accessibility architect/strategist chair, ibm accessibility architecture review board) gave some clarification about navindex.
...itecture review board) gave some clarification about navindex.
HTMLAnchorElement - Web APIs
ing that reflects the rel html attribute, specifying the relationship of the target object to the linked object.
...operty has been added: download.
HTMLAreaElement - Web APIs
indicating relationships of the current document to the linked resource, as a list of tokens.
...ving standard the following property has been added: download.
HTMLButtonElement - Web APIs
elist that represents a list of <label> elements that are labels for this button.
...ation.
HTMLElement - Web APIs
ment, relative to the layout.
...following properties: translate, itemscope, itemtype, itemid, itemref, itemprop, properties, and itemvalue.
HTMLObjectElement - Web APIs
xels.
...oes not validate.
HTMLOrForeignElement - Web APIs
t.
...iesdataset read only the dataset read-only property of the htmlorforeignelement interface provides read/write access to all the custom data attributes (data-*) set on the element.nonce the nonce property of the htmlorforeignelement interface returns the cryptographic number used once that is used by content security policy to determine whether a given fetch will be allowed to proceed.tabindexthe tabindex property of the htmlorforeignelement interface represents the tab order of the current element.methodsblur()the htmlelement.blur() method removes keyboard focus from the current element.focus()the htmlelement.focus() method sets focus on the specified element, if it can be focused.
Index - Web APIs
Web › API › Index
keyboard and similar events by default.
...ce api, content security policy, experimental, html dom, htmlelement, property, reference, nonce the nonce property of the htmlelement interface returns the cryptographic number used once that is used by content security policy to determine whether a given fetch will be allowed to proceed.
HTML documentation index - HTML: Hypertext Markup Language
Web › HTML › Index
or spelling errors.
...tes, html, reference the style global attribute contains css styling declarations to be applied to the element.
SVG Attribute reference - SVG: Scalable Vector Graphics
Web › SVG › Attribute
d shape-rendering slope spacing specularconstant specularexponent speed spreadmethod startoffset stddeviation stemh stemv stitchtiles stop-color stop-opacity strikethrough-position strikethrough-thickness string stroke stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width style surfacescale systemlanguage t tabindex tablevalues target targetx targety text-anchor text-decoration text-rendering textlength to transform transform-origin type u u1 u2 underline-position underline-thickness unicode unicode-bidi unicode-range units-per-em v v-alphabetic v-hanging v-ideographic v-mathematical values vector-effect version vert-adv-y vert-origin-x vert-origin-y viewbox viewtarget...
...x vert-origin-y viewbox viewtarget visibility w width widths word-spacing writing-mode x x x-height x1 x2 xchannelselector xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type xml:base xml:lang xml:space y y y1 y2 ychannelselector z z zoomandpan svg attributes by category generic attributes core attributes id, lang, tabindex, xml:base, xml:lang, xml:space style attributes class, style conditional processing attributes externalresourcesrequired, requiredextensions, requiredfeatures, systemlanguage.
SVG documentation index - SVG: Scalable Vector Graphics
Web › SVG › Index
211 surfacescale filters, needscompattable, svg, svg attribute the surfacescale attribute represents the height of the surface for a light filter primitive.
...dscompattable, svg, svg attribute the surfacescale attribute represents the height of the surface for a light filter primitive.
SVG 2 support in Mozilla - SVG: Scalable Vector Graphics
never implemented svgelement.viewportelement and svgelement.ownersvgelement nullable implementation status unknown svgelement.getpresentationattribute() removed never implemented (prototype removed in bug 921456) svgcolor and svgicccolor removed never implemented svgelement.focus(), svgelement.blur() not implemented (bug 778654) svgelement.tabindex implemented (bug 778654) document.activeelement implementation status unknown globaleventhandlers on svgelement implementation status unknown options dictionary attribute for svggraphicselement.getbbox() implemented behind the preference svg.new-getbbox.enabled (bug 999964, bug 1019326) allow leading and trailing whitespace in <length>, <angle>, <nu...
... <hatchpath> (renamed hatchpath) not implemented (bug 1239147) display behavior of paint server elements defined by ua style sheet not implemented clipping, masking, and compositing change notes overflow respected on outermost <svg> elements inline in html implementation status unknown interactivity change notes tabindex attribute implemented (bug 778654) bounding-box on pointer-events not implemented (bug 945187) load, abort, error, and unload instead of svgload, svgabort, svgerror, and svgunload not implemented (bug 620002) only structurally external elements and outermost <svg> element fire load events implementation status unknown resize and scroll instead of sv...
Adding windows and dialogs - Archive of obsolete content
press moves you to the next control in the window, giving it focus.
jspage - Archive of obsolete content
faultvalue:"defaultvalue",text:(browser.engine.trident||(browser.engine.webkit&&browser.engine.version<420))?"innertext":"textcontent"}; var b=["compact","nowrap","ismap","declare","noshade","checked","disabled","readonly","multiple","selected","noresize","defer"];var k=["value","type","defaultvalue","accesskey","cellpadding","cellspacing","colspan","frameborder","maxlength","readonly","rowspan","tabindex","usemap"]; b=b.associate(b);hash.extend(e,b);hash.extend(e,k.associate(k.map(string.tolowercase)));var a={before:function(m,l){if(l.parentnode){l.parentnode.insertbefore(m,l); }},after:function(m,l){if(!l.parentnode){return;}var n=l.nextsibling;(n)?l.parentnode.insertbefore(m,n):l.parentnode.appendchild(m);},bottom:function(m,l){l.appendchild(m); },top:function(m,l){var n=l.firstchild;(n)?l.inse...
Attribute (XUL) - Archive of obsolete content
lement resizeafter resizebefore rows screenx screeny searchbutton searchsessions searchlabel selected selectedindex seltype setfocus showcaret showcommentcolumn showpopup size sizemode sizetopopup smoothscroll sort sortactive sortdirection sortresource sortresource2 spellcheck src state statedatasource statusbar statustext style subject substate suppressonselect tabindex tabscrolling targets template timeout title toolbarname tooltip tooltiptext tooltiptextnew top type uri useraction validate value var visuallyselected wait-cursor width windowtype wrap wraparound ...
Property - Archive of obsolete content
rityui selected selectedbrowser selectedcount selectedindex selecteditem selecteditems selectedpanel selectedtab selectionend selectionstart selstyle seltype sessioncount sessionhistory showcommentcolumn showpopup size smoothscroll spinbuttons src state statusbar statustext stringbundle strings style subject suppressonselect tabcontainer tabindex tabs tabscrolling tabpanels tag textlength textvalue timeout title toolbarname toolbarset tooltip tooltiptext top treeboxobject type uri useraction value valuenumber view webbrowserefind webnavigation webprogress width wizardpages wraparound year yearleadingzero related dom element properties dom:element.attributes dom:element.baseuri ...
XUL accessibility guidelines - Archive of obsolete content
se with physical disabilities rely on the keyboard as their primary input tool.
Mozilla XForms User Interface - Archive of obsolete content
e user interface presentation in a form.
Example 4 - Learn web development
eselect(select, selectlist); }); select.addeventlistener('blur', function (event) { deactivateselect(select); }); }); }); window.addeventlistener('load', function () { var selectlist = document.queryselectorall('.select'); selectlist.foreach(function (select) { var optionlist = select.queryselectorall('.option'), selectedindex = getindex(select); select.tabindex = 0; select.previouselementsibling.tabindex = -1; updatevalue(select, selectedindex); optionlist.foreach(function (option, index) { option.addeventlistener('click', function (event) { updatevalue(select, index); }); }); select.addeventlistener('keyup', function (event) { var length = optionlist.length, index = getindex(select); if...
Example 5 - Learn web development
("load", function () { var form = document.queryselector('form'); form.classlist.remove("no-widget"); form.classlist.add("widget"); }); window.addeventlistener('load', function () { var selectlist = document.queryselectorall('.select'); selectlist.foreach(function (select) { var optionlist = select.queryselectorall('.option'), selectedindex = getindex(select); select.tabindex = 0; select.previouselementsibling.tabindex = -1; updatevalue(select, selectedindex); optionlist.foreach(function (option, index) { option.addeventlistener('mouseover', function () { highlightoption(select, option); }); option.addeventlistener('click', function (event) { updatevalue(select, index); }); }); select.addeventlistener('cl...
Accessibility API cross-reference
echniques available n/a n/a aria-flowto indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.
Mozilla’s UAAG evaluation report
able): available through dom, can be styled using css?
nsIAccessibleHyperLink
ext, so the endindex should be startindex + 1.
nsIDOMXULControlElement
dom/interfaces/xul/nsidomxulcontrolelement.idlscriptable provides additional attributes specific to control elements.
Hit regions and accessibility - Web APIs
eath.</p> </canvas> see the video how nvda reads this example by steve faulkner.
CustomElementRegistry.define() - Web APIs
ds htmlelement { constructor() { // always call super first in constructor super(); // create a shadow root var shadow = this.attachshadow({mode: 'open'}); // create spans var wrapper = document.createelement('span'); wrapper.setattribute('class','wrapper'); var icon = document.createelement('span'); icon.setattribute('class','icon'); icon.setattribute('tabindex', 0); var info = document.createelement('span'); info.setattribute('class','info'); // take attribute content and put it inside the info span var text = this.getattribute('text'); info.textcontent = text; // insert icon var imgurl; if(this.hasattribute('img')) { imgurl = this.getattribute('img'); } else { imgurl = 'img/default.png'; } var ...
Element: keydown event - Web APIs
the keydown and keyup events provide a code indicating which key is pressed, while keypress indicates which character was entered.
Element.tabStop - Web APIs
Web › API › Element › tabStop
the tabstop property of the element interface returns a boolean indicating if the element can receive input focus via the tab key.
GlobalEventHandlers.onfocus - Web APIs
the onfocus property of the globaleventhandlers mixin is an eventhandler that processes focus events on the given element.
HTMLInputElement - Web APIs
search is initiated on an <input> of type="search".
HTMLElement.focus() - Web APIs
us' in that specification.
HTMLSelectElement - Web APIs
ication.
SVGGraphicsElement: paste event - Web APIs
t, but this will not affect the document's contents.
ARIA guides - Accessibility
accessible rich internet applications (aria) defines ways to make the web more accessible to people with disabilities.
Using the alertdialog role - Accessibility
w assistive technology should handle this technique.
x-ms-aria-flowfrom - Accessibility
e order.
ARIA: tabpanel role - Accessibility
n, instead of re-purposing an element and adding an aria role, state or property to make it accessible, then do so.
ARIA: feed role - Accessibility
list of related products on an ecommerce page.
ARIA: Region role - Accessibility
e>region</code> role with discretion</h3> <!-- content --> </div> ...
ARIA: switch role - Accessibility
lue mixed for the aria-checked attribute; assigning a value of mixed to a switch instead sets the value to false.
ARIA: listbox role - Accessibility
tate or property to make it accessible, then do so.
Accessibility Information for Web Authors - Accessibility
cessibility guidelines (wcag) 1.0 another important set of guidelines from the w3c web accessibility initiative (wai).
:focus-visible - CSS: Cascading Style Sheets
n: 10px; } .focus-only:focus { outline: 2px solid black; } .focus-visible-only:focus-visible { outline: 4px dashed darkorange; } selectively showing the focus indicator a custom control, such as a custom element button, can use :focus-visible to selectively apply a focus indicator only on keyboard-focus.
CSS Grid Layout and Accessibility - CSS: Cascading Style Sheets
ives authors great powers of rearrangement over the document.
justify-items - CSS: Cascading Style Sheets
he grid container is given a justify-items value of stretch (the default), which causes the grid items to stretch across the entire width of their cells.
matrix3d() - CSS: Cascading Style Sheets
eric 3d affine transformation can't be represented using a cartesian-coordinate matrix, as translations are not linear transformations.
HTML attribute reference - HTML: Hypertext Markup Language
mbeddable content.
<area> - HTML: Hypertext Markup Language
Web › HTML › Element › area
ions (e.g.
<dialog>: The Dialog element - HTML: Hypertext Markup Language
Web › HTML › Element › dialog
tioning root permitted content flow content tag omission none, both the starting and ending tag are mandatory.
<input>: The Input (Form Input) element - HTML: Hypertext Markup Language
Web › HTML › Element › input
by the user doesn't adhere to the stepping configuration, the value is considered invalid in contraint validation and will match the :invalid pseudoclass.
<object> - HTML: Hypertext Markup Language
Web › HTML › Element › object
alue of the attribute must be an id of a <form> element in the same document.
visibility - SVG: Scalable Vector Graphics
value visible | hidden | collapse default value visible animatable yes visible this value indicates that the element will be painted.
<a> - SVG: Scalable Vector Graphics
Web › SVG › Element › a
_self; animatable: yes type a mime type for the linked url.
<circle> - SVG: Scalable Vector Graphics
Web › SVG › Element › circle
value type: <length> ; default value: 0; animatable: yes pathlength the total length for the circle's circumference, in user units.
<ellipse> - SVG: Scalable Vector Graphics
Web › SVG › Element › ellipse
tage> ; default value: auto; animatable: yes pathlength this attribute lets specify the total length for the path, in user units.
<foreignObject> - SVG: Scalable Vector Graphics
value type: <length>|<percentage> ; default value: 0; animatable: yes y the y coordinate of the foreignobject.
<g> - SVG: Scalable Vector Graphics
Web › SVG › Element › g
y,svg { height:100% } <svg viewbox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"> <!-- using g to inherit presentation attributes --> <g fill="white" stroke="green" stroke-width="5"> <circle cx="40" cy="40" r="25" /> <circle cx="60" cy="60" r="25" /> </g> </svg> attributes this element only includes global attributes global attributes core attributes most notably: id, tabindex styling attributes class, style conditional processing attributes most notably: requiredextensions, systemlanguage event attributes global event attributes, graphical event attributes presentation attributes most notably: clip-path, clip-rule, color, color-interpolation, color-rendering, cursor, display, fill, fill-opacity, fill-rule, filter, mask, opacity, pointer-events, shape-rendering...
<line> - SVG: Scalable Vector Graphics
Web › SVG › Element › line
.
<marker> - SVG: Scalable Vector Graphics
Web › SVG › Element › marker
matable: yes refy this attribute defines the y coordinate for the reference point of the marker.
<path> - SVG: Scalable Vector Graphics
Web › SVG › Element › path
q 90,60 50,90 q 10,60 10,30 z"/> </svg> attributes d this attribute defines the shape of the path.
<pattern> - SVG: Scalable Vector Graphics
Web › SVG › Element › pattern
butes.
<polygon> - SVG: Scalable Vector Graphics
Web › SVG › Element › polygon
attributes points this attribute defines the list of points (pairs of x,y absolute coordinates) required to draw the polygon.
<polyline> - SVG: Scalable Vector Graphics
Web › SVG › Element › polyline
attributes points this attribute defines the list of points (pairs of x,y absolute coordinates) required to draw the polyline value type: <number>+ ; default value: ""; animatable: yes pathlength this attribute lets specify the total length for the path, in user units.
<rect> - SVG: Scalable Vector Graphics
Web › SVG › Element › rect
ge> ; default value: auto; animatable: yes pathlength the total length of the rectangle's perimeter, in user units.
<svg> - SVG: Scalable Vector Graphics
Web › SVG › Element › svg
tage> ; default value: 0; animatable: yes y the displayed y coordinate of the svg container.
<text> - SVG: Scalable Vector Graphics
Web › SVG › Element › text
ne; animatable: yes lengthadjust how the text is stretched or compressed to fit the width defined by the textlength attribute.
<textPath> - SVG: Scalable Vector Graphics
Web › SVG › Element › textPath
matable: yes startoffset how far the beginning of the text should be offset from the beginning of the path.
<tspan> - SVG: Scalable Vector Graphics
Web › SVG › Element › tspan
ne; animatable: yes lengthadjust how the text is stretched or compressed to fit the width defined by the textlength attribute.
<use> - SVG: Scalable Vector Graphics
Web › SVG › Element › use
: yes note: width, and height have no effect on use elements, unless the element referenced has a viewbox - i.e.
Using custom elements - Web Components
nd finally attach some css to the shadow root to style it.
Using shadow DOM - Web Components
/ create a shadow root let shadow = this.attachshadow({mode: 'open'}); creating the shadow dom structure next, we use some dom manipulation to create the element's internal shadow dom structure: // create spans let wrapper = document.createelement('span'); wrapper.setattribute('class', 'wrapper'); let icon = document.createelement('span'); icon.setattribute('class', 'icon'); icon.setattribute('tabindex', 0); let info = document.createelement('span'); info.setattribute('class', 'info'); // take attribute content and put it inside the info span let text = this.getattribute('data-text'); info.textcontent = text; // insert icon let imgurl; if(this.hasattribute('img')) { imgurl = this.getattribute('img'); } else { imgurl = 'img/default.png'; } let img = document.createelement('img'); img.src =...