To be of high quality and usable in mission-critical business software, OpenUI5 needs to fulfill specific product standards and acceptance criteria. While these are not directly related to code conventions, the most important standards and criteria are mentioned here, because new code needs to fulfill these requirements.
General product standards and acceptance criteria:
Browser support, see Browser and Platform Support
Security issues, such as output encoding to prevent XSS attacks
Performance needs to be in focus
Automated tests, such as QUnit
Proper API documentation
Translation: All texts that are visible on the UI must be enabled for translation.
Do not provide the translations, but only provide a raw english version in the messagebundle.properties file.
Make sure that you annotate the strings properly for translation. For more information, see Annotations in Translation Files.
Adhere to the compatibility rules, see Compatibility Rules.
Make sure that any Open Source libraries (or parts of them) that you use are officially approved before you add them to OpenUI5. Do not add any code you "found" somewhere.
Additional product standard and acceptance criteria for controls:
Screenreader support (ARIA)
Keyboard navigation support
Required themes; what themes are required depends on the library, but always includes the High Contrast theme for accessibility
Right-to-left support
Example page in Demokit/Explored App