 		if (childID == 0)
 			return "";
 
-		var name:String;
-
 		var tabBar:TabBar = TabBar(master);
-		// Assuming childID is always ItemID + 1
-		// because getChildIDArray is not always invoked.
-		var index:int = childID < MAX_NUM ?
-						childID - 1 :
-						childID - MAX_NUM - 1;
-		//With new version of JAWS, when we add a new child, we get nonsense number
-		//not caught above. In this case, return last tab.
+		var index:int = childID - 1;
+		
+		// With new version of JAWS, when we add a new child, we get nonsense number
+		// not caught above. In this case, return last tab.
 		if (index > tabBar.numChildren || index < 0)
 			index = tabBar.numChildren -1;
+		
 		var item:Tab = Tab(tabBar.getChildAt(index));
 
-		name = item.label;
+		var name:String = item.label;
 
 		if (index == tabBar.selectedIndex)
 			name += " Tab, Active";

		{
			accState = STATE_SYSTEM_SELECTABLE | STATE_SYSTEM_FOCUSABLE;

			var index:int = childID < MAX_NUM ? 
					childID - 1 : childID - MAX_NUM - 1;

			if (index == tabBar.selectedIndex)
				accState |= STATE_SYSTEM_SELECTED;

	override public function accDoDefaultAction(childID:uint):void
	{
		if (childID > 0)
			TabBar(master).selectButton(childID - 1, true);
	}

	/**
