07-04-2012 10:09 AM
It is already available for preview on the BlackBerry 10 Dev Alpha device. You can use the HTML5 DeviceMotion API to use this capability.
Note: There is no guarantee that every future BB10 device will have accelerometer support (although I hope they do!). Its a hardware capability that needs to exist before the HTML5 features can be used.