Search completed in 0.88 seconds.
XUL accessibility guidelines - Archive of obsolete content
introduction welcome to the xul accessibility
guidelines.
... it is hoped that these
guidelines will be sufficiently clear and detailed that everyone—even someone with no previous background in accessibility—can understand them.
... there is also a xul accessibility tool which can help test some of these
guidelines, but please be aware that no tool can replace human judgement for accessibility, and understanding the
guidelines is vital.
...And 4 more matches
XUL Coding Style Guidelines - Archive of obsolete content
to make xul files easy to read and maintain, localization friendly, and portable across user agents, we need to have a set of coding style
guidelines to ensure our objectives are achievable.
... the author has collected a set of
guidelines from various sources listed in the references section.
... while some of the
guidelines are recommended practices, the others are mandatory.
...And 3 more matches
NSS API Guidelines
nss api
guidelines newsgroup: mozilla.dev.tech.crypto introduction this document describes how the nss code is organized, the libraries that get built from the nss sources, and
guidelines for writing nss code.
... these
guidelines will familiarize you with some of the ways things can be done in the nss code.
... some of the
guidelines in this document, are more forward-looking than documentary.
...And 3 more matches
Understanding the Web Content Accessibility Guidelines - Accessibility
this set of articles provides quick explanations to help you understand the steps that need to be taken to conform to the recommendations outlined in the w3c web content accessibility
guidelines 2.0 or 2.1 (or just wcag, for the purposes of this writing).
... the wcag 2.0 and 2.1 provide a detailed set of
guidelines for making web content more accessible to people with a wide variety of disabilities.
... each of the links below will take you to pages that further expand on these areas, giving you practical advice on how to write your web content so it conforms to the success criteria outlined in each of the wcag 2.0 and 2.1
guidelines that further sub-divides each principle.
...And 2 more matches
Extension Theming Guidelines - Archive of obsolete content
this is a set of
guidelines on how to control the look and feel of your extension while leaving it open for styling by custom themes.
... branding certain items of your extensions style, in particular logos and icons can be kept in the chrome content package such that they are not replaceable by custom themes stylesheets
guidelines include stylesheets for every new window that your extension adds and for every window that your extension overlays content into be sure to add a stylesheet from your chrome skin package.
... xul
guidelines xbl bindings xbl bindings are applied using style rules.
The Firefox codebase: CSS Guidelines
this document contains
guidelines defining how css inside the firefox codebase should be written, it is notably relevant for firefox front-end engineers.
...see the svg
guidelines for more information on svg usage.
SVG Guidelines
authoring
guidelines a lot of svg files (particularly those generated by svg editors) ship without being cleaned up and can contain a ton of junk that bloats the file size and slows down rendering.
...see svg authoring
guidelines.
Cognitive accessibility - Accessibility
wcag
guidelines wcag, web content accessibility
guidelines, includes several
guidelines to improve cognitive accessibility.
... these
guidelines are published by the web accessibility initiative (wai) of the world wide web consortium (w3c), the main international standards organization for the internet.
... this group is also responsible for the accessible rich internet application (aria)
guidelines.
...And 8 more matches
Links and Resources
guidelines & standards information and resources on section 508 - legal policy for us government purchases requiring software accessibility.
... wai - web accessibility initiative web content accessibility
guidelines (wcag) 1.0 the first set of official
guidelines from the w3c web accessibility initiative (wai).
... the european union is looking to base their upcoming accessibility regulations on these
guidelines.
...And 6 more matches
Accessibility Information for Web Authors - Accessibility
guidelines and regulations section 508
guidelines for web authors these
guidelines must be followed by u.s.
...other organizations such as schools are starting to follow these
guidelines as well.
... web content accessibility
guidelines (wcag) 1.0 another important set of
guidelines from the w3c web accessibility initiative (wai).
...And 6 more matches
Accessibility documentation index - Accessibility
a few
guidelines to follow that ensure better accessibility, like using drag and drop for placement of the widgets.
... 94 mobile accessibility checklist accessibility, firefox os,
guidelines, mobile, checklist this document provides a concise checklist of accessibility requirements for mobile app developers.
... 95 understanding the web content accessibility
guidelines wcag, web content accessibility
guidelines this set of articles provides quick explanations to help you understand the steps that need to be taken to conform to the recommendations outlined in the w3c web content accessibility
guidelines 2.0 or 2.1 (or just wcag, for the purposes of this writing).
...And 5 more matches
Index - Archive of obsolete content
238 extension theming
guidelines add-ons, extensions this is a set of
guidelines on how to control the look and feel of your extension while leaving it open for styling by custom themes.
...while this is generally considered acceptable behavior, considerable care must be taken to avoid violating the mozilla add-on
guidelines or creating an adverse user experience.
...some items mentioned are strict
guidelines, meaning that if you don't follow them then your add-on will not be approved on mozilla add-ons.
...And 4 more matches
NSPR Contributor Guide
nspr wishes to document some
guidelines for those who would contribute to nspr.
... these
guidelines should help the contributor in crafting his contribution, increasing its likelihood for acceptance.
... general
guidelines downward compatibility because many different applications, besides the mozilla client, use the nspr api, the api must remain downward compatible across even major releases.
...And 4 more matches
nsISupportsArray
inherits from: nsicollection last changed in gecko 1.7 method overview boolean appendelements(in nsisupportsarray aelements); violates the xpcom interface
guidelines nsisupportsarray clone(); void compact(); void deleteelementat(in unsigned long aindex); void deletelastelement(in nsisupports aelement); nsisupports elementat(in unsigned long aindex); violates the xpcom interface
guidelines boolean enumeratebackwards(in nsisupportsarrayenumfunc afunc, in voidptr adata); violates the xpcom interface
guidelines boolean enumerateforwards(in nsisupportsarrayenumfunc afunc, in voidptr adata); violates the xpcom interface
guidelines boolean equals([const] in nsisupportsarray other); violates the ...
...xpcom interface
guidelines long getindexof(in nsisupports apossibleelement); long getindexofstartingat(in nsisupports apossibleelement, in unsigned long astartindex); long getlastindexof(in nsisupports apossibleelement); long indexof([const] in nsisupports apossibleelement); violates the xpcom interface
guidelines long indexofstartingat([const] in nsisupports apossibleelement, in unsigned long astartindex); violates the xpcom interface
guidelines boolean insertelementat(in nsisupports aelement, in unsigned long aindex); violates the xpcom interface
guidelines boolean insertelementsat(in nsisupportsarray aother, in unsigned long aindex); violates the xpcom interface
guidelines long lastindexof([const] in nsisupports apossibleelement); violates the xpcom interface
guidelines boolean ...
...moveelement(in long afrom, in long ato); violates the xpcom interface
guidelines boolean removeelementat(in unsigned long aindex); violates the xpcom interface
guidelines boolean removeelementsat(in unsigned long aindex, in unsigned long acount); violates the xpcom interface
guidelines boolean removelastelement([const] in nsisupports aelement); violates the xpcom interface
guidelines boolean replaceelementat(in nsisupports aelement, in unsigned long aindex); violates the xpcom interface
guidelines boolean sizeto(in long asize); violates the xpcom interface
guidelines methods violates the xpcom interface
guidelines appendelements() boolean appendelements( in nsisupportsarray aelements ); parameters aelements return value clone() nsisupportsarray clone(); parameters none.
...And 4 more matches
What is accessibility? - Learn web development
websites must conform with the w3c’s web content accessibility
guidelines, including cognitive accessibility
guidelines.
... the w3c’s cognitive and learning disabilities accessibility task force produces web accessibility
guidelines for people with cognitive impairments.
... accessibility
guidelines and the law there are numerous checklists and sets of
guidelines available for basing accessibility tests on, which might seem overwhelming at first glance.
...And 3 more matches
nsIDOMEvent
method overview boolean deserialize(in constipcmessageptr amsg, out voidptr aiter); violates the xpcom interface
guidelines void duplicateprivatedata(); native code only!
... nseventptr getinternalnsevent(); violates the xpcom interface
guidelines boolean getpreventdefault(); deprecated since gecko 16.0 void initevent(in domstring eventtypearg, in boolean canbubblearg, in boolean cancelablearg); boolean isdispatchstopped(); violates the xpcom interface
guidelines void preventbubble(); obsolete since gecko 24 void preventcapture(); obsolete since gecko 24 void preventdefault(); void serialize(in ipcmessageptr amsg, in boolean aserializeinterfacetype); violates the xpcom interface
guidelines void settarget(in nsidomeventtarget atarget); native code only!
... move 0x02000000 resize 0x04000000 forward 0x08000000 help 0x10000000 back 0x20000000 text 0x40000000 alt_mask 0x00000001 control_mask 0x00000002 shift_mask 0x00000004 meta_mask 0x00000008 methods violates the xpcom interface
guidelines deserialize() boolean deserialize( in constipcmessageptr amsg, out voidptr aiter ); parameters amsg aiter return value native code only!duplicateprivatedata void duplicateprivatedata(); parameters none.
...And 3 more matches
Border-image generator - CSS: Cascading Style Sheets
elem.length; for (var i = 0; i < size; i++) new checkbox(elem[i]); }; return { init : init, setvalue : setvalue, subscribe : subscribe, unsubscribe : unsubscribe }; })(); window.addeventlistener("load", function() { borderimage.init(); }); var borderimage = (function borderimage() { var getelembyid = document.getelementbyid.bind(document); var subject; var preview; var
guidelines = []; var positions = ['top', 'right', 'bottom', 'left']; var makedraggable = function makedraggable(elem) { var offsettop; var offsetleft; elem.setattribute('data-draggable', 'true'); var dragstart = function dragstart(e) { if (e.target.getattribute('data-draggable') !== 'true' || e.target !== elem || e.button !== 0) return; offsetleft = e.clientx - elem.offsetleft; ...
...ht', prop['size'][1]); inputslidermanager.setvalue('preview-area-height', prop['preview_area']); }; var update = function update() { scale = math.min(300, (30000 / this.width) | 0); setscale(scale); inputslidermanager.setvalue('scale', scale, false); subject.style.backgroundimage = 'url("' + this.src + '")'; preview.style.borderimagesource = 'url("' + this.src + '")';
guidelines['slice-top'].setmax(this.height);
guidelines['slice-right'].setmax(this.width);
guidelines['slice-bottom'].setmax(this.height);
guidelines['slice-left'].setmax(this.width); if (imgstate) loadimagestate(imgstate); }; var setscale = function setscale(value) { scale = value; var w = imgsource.width * scale / 100 | 0; var h = imgsource.height * scale / 100 | 0; subje...
...ct.style.width = w + 'px'; subject.style.height = h + 'px'; for (var i = 0; i < positions.length; i++)
guidelines['slice-' + positions[i]].updateguidelinepos(); }; var getscale = function getscale() { return scale/100; }; var togglegallery = function togglegallery() { var gallery = getelembyid('image-gallery'); var button = getelembyid('toggle-gallery'); var state = 1; button.addeventlistener('click', function() { state = 1 ^ state; if (state === 0) { gallery.setattribute('data-collapsed', 'true'); button.setattribute('data-action', 'show'); } else { gallery.removeattribute('data-collapsed'); button.setattribute('data-action', 'hide'); } }); }; var init = function init() { var gallery = getelembyid('image-gallery...
...And 3 more matches
imgIContainer
nsiframe getrootlayoutframe(); violates the xpcom interface
guidelines pruint16 gettype(); violates the xpcom interface
guidelines void init(in print32 awidth, in print32 aheight, in imgicontainerobserver aobserver); obsolete since gecko 2.0 void lockimage(); void removeframe(in gfxiimageframe item); obsolete since gecko 1.9.2 void requestdecode(); void requestdiscard(); void requestrefresh([const] ...
...in timestamp atime); violates the xpcom interface
guidelines void resetanimation(); void restoredatadone(); native code only!
...return value missing description exceptions thrown missing exception missing description violates the xpcom interface
guidelines getrootlayoutframe() if this image is type_vector, that is really an embedded svg document, and this method returns a pointer to the root nsiframe of that document.
...And 2 more matches
nsISHEntry
nsdocshelleditordataptr forgeteditordata(); violates the xpcom interface
guidelines nsicontentviewer getanycontentviewer(out nsishentry ownerentry); void getscrollposition(out long x, out long y); void getviewerbounds(in nsintrect bounds); native code only!
... boolean hasdetachededitor(); violates the xpcom interface
guidelines boolean hasdynamicallyaddedchild(); boolean isdynamicallyadded(); void seteditordata(in nsdocshelleditordataptr adata); violates the xpcom interface
guidelines void setissubframe(in boolean aflag); void setscrollposition(in long x, in long y); void settitle(in astring atitle); void setuniquedocidentifier(); void seturi(in nsiuri auri); void setviewerbounds(in nsintrect bounds); native code only!
... in astring title, in nsiinputstream inputstream, in nsilayouthistorystate layouthistorystate, in nsisupports cachekey, in acstring contenttype, in nsisupports owner, in unsigned long long docshellid, in boolean dynamiccreation ); parameters uri title inputstream layouthistorystate cachekey contenttype owner docshellid dynamiccreation violates the xpcom interface
guidelines forgeteditordata() gets the owning pointer to the editor data assosicated with this shistory entry.
...And 2 more matches
Accessibility and Spacial Patterns - Accessibility
in 2005, arnold wilkins, john emmett, and graham harding evaluated the
guidelines for characterizing patterned images that could precipitate seizures.
... they revised the
guidelines to their fundamental core, and came up with a surprisingly simple, but powerful test.
... which they published in the paper, characterizing the patterned images that precipitate seizures and optimizing
guidelines to prevent them the steps necessary to evaluate material reduce to the following: look at the screen are there more than five stripes?
...And 2 more matches
XUL accessibility tool - Archive of obsolete content
it is designed to test (insofar as automated testing is possible) the
guidelines and requirement for creating accessible xul as set forth in the xul accessibility
guidelines, and to report on any problems found in tested documents.
... (aaronandy) link report sections to relevant part of xul a11y
guidelines.
... ideas for further work on xul a11y some general ideas for using the tool and
guidelines to further the accessibility cause within the mozilla project.
... add usability, i18n, security and other considerations to xul a11y
guidelines -- make them more general sprinkle the a11y techniques throughout the turorial and reference.
nsIVariant
nsresult getasarray(out pruint16 type, out nsiid iid, out pruint32 count, out voidptr ptr); violates the xpcom interface
guidelines astring getasastring(); native code only!
... nsresult getasid(out nsid retval); violates the xpcom interface
guidelines print16 getasint16(); native code only!
... violates the xpcom interface
guidelines getasarray() nsresult getasarray( out pruint16 type, out nsiid iid, out pruint32 count, out voidptr ptr ); parameters type the type of the array elements.
... violates the xpcom interface
guidelines getasid() nsresult getasid( out nsid retval ); parameters retval if the internal value is an iid then it is returned.
Index - Archive of obsolete content
977 xul coding style
guidelines xul no summary!
... 1082 xul accessibility
guidelines accessibility, xul welcome to the xul accessibility
guidelines.
...it is designed to test (insofar as automated testing is possible) the
guidelines and requirement for creating accessible xul as set forth in the xul accessibility
guidelines, and to report on any problems found in tested documents.
Skinning XUL Files by Hand - Archive of obsolete content
to keep your xul looking consistent and to avoid breaking skins altogether (when your styles have some dependency on a part of the global skin that changes, such as an image), use the style rules in the global skin by importing it into your stylesheet with the following instruction: @import url("chrome://global/skin/"); refer to the document writing skinnable xul and css for
guidelines on how to make your skins friendly to the global skin, to xul, and to mozilla.
...0px; font-size: 9pt; } menu#edit { color: red; } other style subgroups contextualsubgroups -- elements appearing within other elements, such as italicized text anywhere within a <p> element or a <div> -- can be grouped in css, but this is an extremely inefficient way to style xul, and is frowned upon in the mozilla development community (again, refer to the skinning
guidelines in writing skinnable xul and css for more info); css2 also provides some new ways to group elements for styling, which we summarize briefly here, because they appear in mozilla with some frequency, but reserve for another article: pseudo-class parent-child element:pseudo-class { attribute: value; } parent > child { attribute: value; } button:hover { borde...
... when you reload the xul file you have been working on, the box element you have used to create the navigation area in the xul file appear as follows: the skinned browser is not much to look at right now -- and you may note that this basic skin has transgressed upon some of the skinning
guidelines because it overrides color information, but you can get a sense of what the possibilities are with the combination of the xul structure and the style rules of css.
Choosing Standards Compliance Over Proprietary Practices - Archive of obsolete content
all businesses are expected and required to follow the
guidelines set forth by the fasb.
...by following the
guidelines that have been put into place, organizations like aol can enhance user experience, interoperability, code reuse, shared resources, and goodwill while reducing costs.
...by integrating and supporting the accessibility
guidelines, an organization can offer their product lines or services to a larger and more diverse user base.
Index - MDN Web Docs Glossary: Definitions of Web-related terms
9 atag atag, accessibility, authoring tool accessibility
guidelines, glossary atag (authoring tool accessibility
guidelines) is a w3c recommendation for building accessible-authoring tools that produce accessible contents.
... 487 wcag accessibility, glossary, wcag, web
guidelines web content accessibility
guidelines (wcag) are a recommendation published by the web accessibility initiative group at the w3c.
... they outline a set of
guidelines for making content accessible primarily for people with disabilities but also for limited-resource devices such as mobile phones.
WCAG - MDN Web Docs Glossary: Definitions of Web-related terms
web content accessibility
guidelines (wcag) are a recommendation published by the web accessibility initiative group at the w3c.
... they outline a set of
guidelines for making content accessible primarily for people with disabilities but also for limited-resource devices such as mobile phones.
...it consists of 12
guidelines organized under 4 principles (perceivable, operable, understandable, and robust) and each guideline has testable success criteria.
Working with Mozilla source code
interface development guide
guidelines and documentation for how to create and update xpcom interfaces.
... the firefox codebase: css
guidelines this document contains
guidelines defining how css inside the firefox codebase should be written, it is notably relevant for firefox front-end engineers.
... svg cleanup guide
guidelines and best practices for shipping new svgs.
nsITaskbarTabPreview
method overview void ensureregistration(); violates the xpcom interface
guidelines nativewindow gethwnd(); violates the xpcom interface
guidelines void move(in nsitaskbartabpreview anext); attributes attribute type description icon imgicontainer the icon displayed next to the title in the preview.
... methods violates the xpcom interface
guidelines ensureregistration() used internally to ensure that the taskbar knows about this preview.
... violates the xpcom interface
guidelines gethwnd() used internally to obtain the handle to the proxy window for the preview.
Appendix A: Add-on Performance - Archive of obsolete content
add-on developers need to make sure that they minimize their add-ons' performance impact, and here are a few simple
guidelines that should be followed to achieve that.
... luckily, minimizing your startup time is easy, if you follow these
guidelines: do not load or run code before it’s needed.
Common Firefox theme issues and solutions - Archive of obsolete content
ve > #identity-box-inner > #page-proxy-stack > #page-proxy-favicon, #identity-box[open=true] > #identity-box-inner > #page-proxy-stack > #page-proxy-favicon { -moz-image-region: rect(0, 48px, 16px, 32px); } #page-proxy-favicon[pageproxystate="invalid"] { opacity: 0.5; } for more information about identity boxes please see the identity box section of the amo editors theme review
guidelines no visual clue for disabled url bars there needs to be a visual clue when url bar is disabled.
... resources amo editors theme testing
guidelines when developing and testing your themes, please refer to the theme testing
guidelines amo editors use to review themes.
Styling Abbreviations and Acronyms - Archive of obsolete content
this is to be encouraged, and according to guideline 4 of the web content accessibility
guidelines, both elements should be given a title attribute to improve "readability of the web for all people, including those with learning disabilities, cognitive disabilities, or people who are deaf." the problem authors have discovered that any abbr or acronym that has a title attribute is rendered with a dotted underline, per the following rule in resource://gre-resources/html.css abbr[title], acron...
... related links web content accessibility
guidelines 1.0 original document information author(s): eric a.
ATAG - MDN Web Docs Glossary: Definitions of Web-related terms
atag (authoring tool accessibility
guidelines) is a w3c recommendation for building accessible-authoring tools that produce accessible contents.
... learn more general knowledge atag as part of the web accessibility initiative on wikipedia technical reference authoring tool accessibility
guidelines (atag) overview the atag 2.0 recommendation ...
Accessibility/LiveRegionDevGuide
this developer's guide lays out general
guidelines that assistive technology (at) developers can use in developing live region support.
...the following are
guidelines on how to implement each container-live this property determines the interruption policy or politeness level for the event and can have values of "off", "polite", "assertive" and "rude".
Information for External Developers Dealing with Accessibility
in addition, here is a list of official keyboard ui
guidelines for each desktop: windows keys:
guidelines on keyboard ui design and on implementing keyboard shortcuts: an excellent resource from microsoft.
... gnome keys: keyboard documentation for gnome 2.2: still seeking developer
guidelines for keyboard.
Accessibility and Mozilla
this developer's guide lays out general
guidelines that assistive technology (at) developers can use in developing live region support.
...here is a rundown of problems and the planned solutions:mozilla's section 508 compliancemozilla’s uaag evaluation reportthe uaag document contains a very rich set of accessibility
guidelines, that broadly define how accessibility should be implemented by any user agent, i.e.
Lightweight themes
tip: to ensure that your theme is approved for the gallery, be sure it complies with the content
guidelines and terms of service!
... submit your theme now frequently asked questions for more information about lightweight themes, including content
guidelines, please see these frequently asked questions.
Interface development guide
the articles linked from this page offer
guidelines for developing and using these interfaces.
...idl interface rules design
guidelines and rules when creating and changing xpcom interfaces.
Setting up the infrastructure
review the english content following the web content localizability
guidelines.
... review your code following the web applications localizability
guidelines.
Writing localizable code
this page tells you about best practices and
guidelines when dealing with ui code with respect to localization.
...
guidelines thus, there are a few
guidelines you should follow to make localization of your code easier: choose good key names the names chosen for your keys (regardless of whether that's a dtd or a properties file) should be descriptive.
Browser security
these articles provide important guides and references to ensuring the code you write is secure, including both design recommendations and testing
guidelines.
... secure development
guidelinesthe following content will likely see significant revision, though can be used as a reference for security best practices to follow when developing code for mozilla.security and the jar protocolthis article discusses security concerns with the jar: protocol, which only firefox has ever implemented for web content.
Mozilla internal string guide
c++ signatures in idl, in parameters are read-only, and the c++ signatures for *string parameters follows the above
guidelines by using const nsastring& for these parameters.
... string
guidelines follow these simple rules in your code to keep your fellow developers, reviewers, and users happy.
nsIChromeRegistry
stry = components.classes["@mozilla.org/chrome/chrome-registry;1"] .getservice(components.interfaces.nsichromeregistry); method overview void canonify(in nsiuri achromeurl); obsolete since gecko 1.8 void checkfornewchrome(); nsiuri convertchromeurl(in nsiuri achromeurl); boolean wrappersenabled(in nsiuri auri); violates the xpcom interface
guidelines constants constant value description none 0 partial 1 full 2 methods canonify() obsolete since gecko 1.8 (firefox 1.5 / thunderbird 1.5 / seamonkey 1.0) note: this method is obsolete; use convertchromeurl() instead.
... violates the xpcom interface
guidelines wrappersenabled() returns whether xpcnativewrappers are enabled for the specified uri.
nsIDocShell
e storage); void addstate(in nsivariant adata, in domstring atitle, in domstring aurl, in boolean areplace); void beginrestore(in nsicontentviewer viewer, in boolean top); void createaboutblankcontentviewer(in nsiprincipal aprincipal); void createloadinfo(out nsidocshellloadinfo loadinfo); void detacheditorfromwindow(); violates the xpcom interface
guidelines void finishrestore(); void firepagehidenotification(in boolean isunload); native code only!
... violates the xpcom interface
guidelines detacheditorfromwindow() disconnects this docshell's editor from its window, and stores the editor data in the open document's session history entry.
nsIJSID
method overview boolean equals(in nsijsid other); const nsid* getid(); violates the xpcom interface
guidelines void initialize(in string idstring); string tostring(); attributes attribute type description id nsidptr read only.
... violates the xpcom interface
guidelines getid() const nsid* getid(); parameters none.
nsISupports
last changed in gecko 1.0 method overview nsrefcnt addref();violates the xpcom interface
guidelines void queryinterface(in nsiidref uuid, [iid_is(uuid),retval] out nsqiresult result); nsrefcnt release();violates the xpcom interface
guidelines methods violates the xpcom interface
guidelines addref() notifies the object that an interface pointer has been duplicated.
... violates the xpcom interface
guidelines release() notifies the object that an interface pointer has been destroyed and any resources the object held on behalf of the client can be released.
Getting Started Guide
the document some com ownership
guidelines provides some hints on when ownership is needed.
...see some com ownership
guidelines.
XPCOM tasks
general xpcom
guidelines.
... building ownership models that work (see xpcom ownership
guidelines), using raw pointers, nscomptr (see the nscomptr user's manual), nsiweakreference (see nsiweakreference), nscweakreference, and (across threads) proxies (see nsisupports proxies).
Mobile accessibility checklist - Accessibility
general
guidelines an app title must be provided.
... touch targets must be large enough for the user to interact with (see the bbc mobile accessibility
guidelines for useful touch target size
guidelines).
Web Accessibility: Understanding Colors and Luminance - Accessibility
understaning color, luminance, and saturation is important in meeting wcag 2 accessibility
guidelines in terms of ensuring enough color contrast for sighted users with color blindness or reduced vision and preventing seizures and other physical reactions in people with vestibular disorders.
... where accessibility is concerned, however, standards and
guidelines are currently written predominantly using the srgb color space, especially as it applies to color contrast ratios.
Operable - Accessibility
this article provides practical advice on how to write your web content so that it conforms to the success criteria outlined in the operable principle of the web content accessibility
guidelines (wcag) 2.0 and 2.1.
... note: to read the w3c definitions for operable and its
guidelines and success criteria, see principle 2: operable — user interface components and navigation must be operable.
Perceivable - Accessibility
this article provides practical advice on how to write your web content so that it conforms to the success criteria outlined in the perceivable principle of the web content accessibility
guidelines (wcag) 2.0 and 2.1.
... note: to read the w3c definitions for perceivable and its
guidelines and success criteria, see principle 1: perceivable - information and user interface components must be presentable to users in ways they can perceive.
Robust - Accessibility
this article provides practical advice on how to write your web content so that it conforms to the success criteria outlined in the robust principle of the web content accessibility
guidelines (wcag) 2.0 and 2.1.
... note: to read the w3c definitions for robust and its
guidelines and success criteria, see principle 4: robust — content must be robust enough that it can be interpreted reliably by a wide variety of user agents, including assistive technologies.
Understandable - Accessibility
this article provides practical advice on how to write your web content so that it conforms to the success criteria outlined in the understandable principle of the web content accessibility
guidelines (wcag) 2.0 and 2.1.
... note: to read the w3c definitions for understandable and its
guidelines and success criteria, see principle 3: understandable — information and the operation of user interface must be understandable.
Writing forward-compatible websites - Developer guides
ask the authors of any javascript libraries you use to also follow these
guidelines suggest to the developers of your favorite libraries that they follow these
guidelines too.
...unfortunately, libraries are common transgressors of these
guidelines.
Media container formats (file types) - Web media technologies
guidelines the best choice also depends on what you'll be doing with the media.
...defines the ogg media types and file extensions quicktime file format specification defines the quicktime movie (mov) format multimedia programming interface and data specifications 1.0 the closest thing to an official wave specification resource interchange file format (used by wav) defines the riff format; wave files are a form of riff webm container
guidelines guide for adapting matroska for webm matroska specifications the specification for the matroska container format upon which webm is based webm byte stream format webm byte stream format for use with media source extensions ...
Appendix: What you should know about open-source software licenses - Archive of obsolete content
html creative commons http://www.creativecommons.cc/ gnu gplv3 second discussion draft http://gplv3.fsf.org/gpl-draft-2006-07-27.html gnu gplv3 third discussion draft http://gplv3.fsf.org/gpl-draft-2007-03-28.html gnu gplv3 "last call" discussion draft http://gplv3.fsf.org/gpl-draft-2007-05-31.html official support for oss japan’s ministry of economy, trade, and industry has issued “
guidelines when considering deploying open-source software.” this report, which was prepared by the software information center study group as part of the information-technology promotion agency’s (ipa) “platform-technology development and businesses relating to electronic commerce” project.
Index of archived content - Archive of obsolete content
references deploying a plugin as an extension developing add-ons displaying web content in an extension without security issues downloading json and javascript in extensions enhanced extension installation extension etiquette extension library extension packaging extension samples extension theming
guidelines extension versioning, update and compatibility extensions support in seamonkey 2 firefox addons developer guide hiding browser chrome hotfix extension how to convert an overlay extension to restartless inline options install manifests installing extensions and themes from web pages interaction betw...
New Skin Notes - Archive of obsolete content
--nickolay 09:19, 25 aug 2005 (pdt) (moving this to a new item) on the contrary, the list of categories current page belongs to, should be near the footer (see mdc:policies_and_
guidelines page) (dria: fix catlinks style) the arrows that appear if you select "enhanced recent changes" in your preferences have an ugly border around them.
Providing Command-Line Options - Archive of obsolete content
} catch (e) { components.utils.reporterror("incorrect parameter passed to -viewapp on the command line."); } // changeme: change "myapp" to your command line flag (no argument) if (cmdline.handleflag("myapp", false)) { openwindow(chrome_uri, null); cmdline.preventdefault = true; } }, // changeme: change the help info as appropriate, but // follow the
guidelines in nsicommandlinehandler.idl // specifically, flag descriptions should start at // character 24, and lines should be wrapped at // 72 characters with embedded newlines, // and finally, the string should end with a newline helpinfo : " -myapp open my application\n" + " -viewapp <uri> view and edit the uri in my application,\n" + " ...
Using Remote XUL - Archive of obsolete content
esting"> <menupopup> <menuitem label="download" value="https://www.mozilla.org/releases/" /> <menuitem label="report a bug" value="https://bugzilla.mozilla.org/enter_bug.cgi?format=guided" /> <menuitem label="bugzilla" value="https://www.mozilla.org/bugs/" /> <menuitem label="bug writing" value="https://www.mozilla.org/quality/bug-writing-
guidelines.html" /> </menupopup> </menu> <menu label="tools"> <menupopup> <menuitem label="view source" value="https://lxr.mozilla.org/seamonkey/" /> <menuitem label="tree status" value="https://tinderbox.mozilla.org/showbuilds.cgi?tree=seamonkey" /> <menuitem label="new checkins" value="https://bonsai.mozilla.org/cvsquery.cgi?treeid=default&..." />...
tree - Archive of obsolete content
relevant accessbility
guidelines provide alternative access (for example, via menus) to column picker and for header behaviors like sorting (these have no default keyboard access).
2006-10-06 - Archive of obsolete content
discussions w3c sets road map for web app accessibility the w3c introduced its wai-aria (web accessibility initiative for accessible rich internet applications) roadmap--a set of
guidelines for developers to make accessible web content.
Plugins - Archive of obsolete content
site author guide for click-to-activate plugins these
guidelines will help website authors use plugins when they are blocked by default with the firefox click-to-activate feature.
TCP/IP Security - Archive of obsolete content
another good source of information is nist sp 800-52,
guidelines on the selection and use of transport layer security, available from https://csrc.nist.gov/publications/nistpubs/.) the use of tls typically requires each application to support tls; however, unlike application layer controls, which typically involve extensive customization of the application, transport layer controls such as tls are much less intrusive because they do not need to understand the ...
How to Report a Hung Firefox
what information to include in a bug report as usual, following bug writing
guidelines will make your report much more likely to lead to a fix in firefox.
Index
ion, php, svn, unix first, make your project's file type decision (see localization formats for details): 40 what every mozilla translator should know internationalization, localization l10n stands for localization = l + another 10 letters + n 41 writing localizable code internationalization, localization this page tells you about best practices and
guidelines when dealing with ui code with respect to localization.
Mozilla Content Localized in Your Language
add style :: register, variants/slang, awkward, company style (branding
guidelines), inconsistent style, third-party style, unidiomatic (steps to define your approach to culture-specific & locale-specific references) ...
Localizing without a specialized tool
you can follow more detailed
guidelines on compare-locale's page, but running the following command from the command line should be enough: $ sudo easy_install -u compare-locales to start, be sure to open your command line interface and change your directory to where you are keeping your localization files, the en-us sources $ cd /path/to/your/working/directory now, you will need run compare locales.
QA phase
click here for
guidelines on how to test your localization.
Research and prep
your selections for default rss readers and content handlers should follow these
guidelines: be translated in your language (because it makes the application unusable if it's not in your language provide for the intended user experience (e.g., minimal to no advertisements within the user experience) no more than three (if possible) choices.
Index
159 nss api
guidelines newsgroup: mozilla.dev.tech.crypto 160 nss certverify log nss all the nss verify functions except, the *verifynow() functions, take a parameter called 'certverifylog'.
PKCS11 FAQ
these are the general
guidelines: user certificates are identified by their labels.
PKCS11 Implement
this document supplements the information in pkcs #11: cryptographic token interface standard, version 2.0 with
guidelines for implementors of cryptographic modules who want their products to work with mozilla client software: how nss calls pkcs #11 functions.
Network Security Services
nss api
guidelines explains how the libraries and code are organized, and
guidelines for developing code (naming conventions, error handling, thread safety, etc.) nss technical notes links to nss technical notes, which provide latest information about new nss features and supplementary documentation for advanced topics in programming with nss.
Hacking Tips
some
guidelines for handling oom that lead to failures when they are not followed: check for allocation failure!
Handling Mozilla Security Bugs
however, we will ask all individuals and organizations reporting security bugs through bugzilla to follow the voluntary
guidelines below: before making a security bug world-readable, please provide a few days notice to the mozilla security bug group by sending an email to the private security bug group mailing list.
AT Development
guidelines at apis implementation by gecko at vendors guide to support gecko-based applications like firefox, thunderbird and so on.
XPCOM array guide
array
guidelines here are a few simple rules which will keep your code clean and your developers happy: use typesafe arrays like nscomarray<t> nstarray<t> wherever possible.
Index
124 xpcom ownership
guidelines xpcom ...naturally.
nsIClassInfo
violates the xpcom interface
guidelines exceptions thrown ns_error_not_available if the class does not have a classid contractid string a contractid through which an instance of this class can be created, or null.
nsIInProcessContentFrameMessageManager
1.0 66 introduced gecko 2.0 inherits from: nsicontentframemessagemanager last changed in gecko 2.0 (firefox 4 / thunderbird 3.3 / seamonkey 2.1) method overview nsicontent getownercontent(); violates the xpcom interface
guidelines methods violates the xpcom interface
guidelines getownercontent() nsicontent getownercontent(); parameters none.
nsIMemory
method overview voidptr alloc(in size_t size); violates the xpcom interface
guidelines void free(in voidptr ptr); violates the xpcom interface
guidelines void heapminimize(in boolean immediate); boolean islowmemory(); deprecated since gecko 2.0 voidptr realloc(in voidptr ptr, in size_t newsize); violates the xpcom interface
guidelines methods alloc allocates a block of memory of a particular size.
nsIThreadEventFilter
last changed in gecko 1.9 (firefox 3) inherits from: nsisupports method overview boolean acceptevent(in nsirunnable event);violates the xpcom interface
guidelines methods violates the xpcom interface
guidelines acceptevent() this method is called to determine whether or not an event may be accepted by a nested event queue.
Weak reference
see also the source xpcom/base/nsiweakreference.idl xpcom/glue/nsweakreference.h xpcom/glue/nsweakreference.cpp xpcom ownership
guidelines using nscomptr original document information author: scott collins last updated date: september 23, 2000 copyright information: portions of this content are © 1998–2007 by individual mozilla.org contributors; content available under a creative commons license | details.
XPCOM
it allows developers to link only against the frozen xpcom method symbols and maintain compatibility with multiple versions of xpcom.xpcom guidethese articles provide tutorials and usage documentation for xpcom, including how to use it in your own projects and how to build xpcom components for your firefox add-ons and the like.xpcom ownership
guidelines...naturally.
MailNews fakeserver
specific fakeserver
guidelines pop imap smtp nntp nntpd.js defines a few different classes of nntp servers: compliance for rfc 977, rfc 2980, and rfc 3977, as well as a giganews and an inn server.
Mozilla
these articles provide important guides and references to ensuring the code you write is secure, including both design recommendations and testing
guidelines.
Inspect and select colors - Firefox Developer Tools
if you click on the color sample, you'll see a color picker popup, enabling you to change the color: if the color is a foreground color, the color picker tells you whether its contrast with the background color meets accessibility
guidelines.
HTMLImageElement.alt - Web APIs
examples beyond that, there are additional
guidelines for using alt appropriately which vary depending on what the image is being used for.
Index - Web APIs
in this article, we'll share a number of best practices —
guidelines, tips, and tricks for working with the web audio api.
Web Audio API - Web APIs
in this article, we'll share a number of best practices —
guidelines, tips, and tricks for working with the web audio api.web audio spatialization basicshopefully, this article has given you an insight into how web audio spatialization works, and what each of the pannernode properties do (there are quite a few of them).
Window.open() - Web APIs
offer to open a link in a new window, using these
guidelines if you want to offer to open a link in a new window, then follow tested and recommendable usability and accessibility
guidelines: never use this form of code for links: <a href="javascript:window.open(...)" ...> "javascript:" links break accessibility and usability of webpages in every browser.
ARIA guides - Accessibility
a few
guidelines to follow that ensure better accessibility, like using drag and drop for placement of the widgets.
Web accessibility for seizures and physical reactions - Accessibility
ow threshhold understanding sc 2.3.1 understanding wcag 2.0 (older, but contains some explanations of references made in the wcag 2.1 criteria) three flashes or below threshold understanding success criterion 2.3.1 understanding wcag 2.1 understanding success criteria 1.4.3: contrast (minimum) web accessibility initiative (wai) web animations model w3c working draft web content accessibility
guidelines (wcag) 2.0 definition of relative luminance web content accessibility
guidelines (wcag) 2.1 contributers: heartfelt thanks to teal; wayne dick of the low vision task force of the w3c; tom jewett and eric eggert from knowbility; jim allan of the diagram center; and dr.
Color contrast - Accessibility
when designing readable interfaces for different vision capabilities, the wcag
guidelines recommend the following contrast ratios: type of content minimum ratio (aa rating) enhanced ratio (aaa rating) body text 4.5 : 1 7 : 1 large-scale text (120-150% larger than body text) 3 : 1 4.5 : 1 active user interface components and graphical objects such as icons and graphs 3 : 1 not defined these ratios do not apply to "incidental" text, such as inactive controls, logotypes, or purely decorative text.
Accessibility
other documentation understanding the web content accessibility
guidelines this set of articles provides quick explanations to help you understand the steps that need to be taken to conform to the recommendations outlined in the w3c web content accessibility
guidelines 2.0 (wcag 2.0 or just wcag, for the purposes of this writing).
color - CSS: Cascading Style Sheets
in order to meet current web content accessibility
guidelines (wcag), a ratio of 4.5:1 is required for text content and 3:1 for larger text such as headings.
opacity - CSS: Cascading Style Sheets
in order to meet current web content accessibility
guidelines (wcag), a ratio of 4.5:1 is required for text content and 3:1 for larger text such as headings.
Content-Security-Policy - HTTP
s to ensure resources are loaded only over https and to disable plugins: content-security-policy: default-src https: 'unsafe-eval' 'unsafe-inline'; object-src 'none' example: do not implement the above policy yet; instead just report violations that would have occurred: content-security-policy-report-only: default-src https:; report-uri /csp-violation-report-endpoint/ see mozilla web security
guidelines for more examples.
Strict-Transport-Security - HTTP
by following the
guidelines and successfully submitting your domain, browsers will never connect to your domain using an insecure connection.
Firefox user agent string reference - HTTP
if this is the case, the firefox os ua string will look like the device-specific string in the table above, where nnnn; is the manufacturer's code for the device (see
guidelines).
HTTP
mozilla web security
guidelines a collection of tips to help operational teams with creating secure web applications.
Performance fundamentals - Web Performance
firefox is highly optimized to transition and animate scenes that: use pages/panels approximately the size of the device screen or smaller transition/animate the css transform and opacity properties transitions and animations that adhere to these
guidelines can be offloaded to the system compositor and run maximally efficiently.