src/vs/workbench/contrib/preferences/browser/tocTree.ts/SettingsAccessibilityProvider/getAriaLevel
class SettingsAccessibilityProvider:	getAriaLevel(element: SettingsTreeGroupElement): number {
		let i = 1;
		while (element instanceof SettingsTreeGroupElement && element.parent) {
			i++;
			element = element.parent;
		}

		return i;
	}