There is no option to only traverse edges with a given label. If you don't mind making a copy of the graph you can build a new graph with only the edges with the specific label you want.
If that doesn't work it wouldn't be that hard to modify the source code of dfs_edges() to do that. e.g.
if source is None:
# produce edges for all components
nodes=G
else:
# produce edges for components with source
nodes=[source]
visited=set()
for start in nodes:
if start in visited:
continue
visited.add(start)
stack = [(start,iter(G[start]))] <- edit here
while stack:
parent,children = stack[-1]
try:
child = next(children)
if child not in visited:
yield parent,child
visited.add(child)
stack.append((child,iter(G[child]))) <- and edit here
except StopIteration:
stack.pop()